The decision could threaten the car service's business model and could have wider implications for the so-called gig economy.