The First District Court of Appeal late Thursday affirmed a preliminary injunction forcing Uber Technologies Inc. and Lyft Inc. to classify their drivers as employees, not independent contractors.