Taxis if you commit assault you lose your 250k medallion hence you don’t commit sexual assault. Uber driver, you switch careers or countries (happened to friend of friend, she got assaulted he fled).
Many people (myself included) would pay to avoid such nonsense, so the “cost” of a taxi is often much higher than the meter fare.
There’s other factors: dangerous driving, refusal to take you to your destination and the following confrontation (also illegal, but happens often), etc.
All this also depends on where you are. Some cities have great taxis. I’m basing my opinion here on Toronto pre-Uber taxis.