The ridesharing company Uber has become a poster child for the sharing economy. Just about anyone with a driver’s license and a car can turn those assets into a money-making venture—one in which drivers are told they can make their own hours and be their own bosses.