An appeals court has dealt both Uber and Lyft a hefty blow, upholding a ruling that both companies must classify their drivers in California as employees.