A court ruled that Uber and Lyft can classify workers as independent contractors.