California and three of its largest cities on Tuesday sued Uber Technologies Inc and Lyft Inc , accusing them of classifying their drivers improperly as independent contractors instead of employees, evading workplace protections and withholding worker benefits.