California Attorney General Rob Bonta announced a settlement with DoorDash on Wednesday, ending a years-long saga between the state's Department of Justice and the food delivery platform.