Uber got its start by flouting taxi rules. By the time the backlash started uber/lyft were too popular for governments to shut down so instead most governments created an awkward different category for them, so there’s at least some regulation applying to them.
If Uber had tried to work thru the regulation they would have never gotten off the ground or have been as loved by users. Taxis in many ways suck, and that was their opening.
Speaking of which…Uber is a master of regulatory influence. When California threatened to classify their drivers as employees, they successfully passed a proposition (prop 22) with the California public that promised more benefits for drivers…but kept them as independent contractors.