San Francisco's city attorney has subpoenaed Uber Technologies Inc. and Lyft Inc. to turn over records relating to how the ride-hailing firms classify drivers, as well as driver wages, health care and other benefits in the latest probe in the city's year-long investigation into the companies.