I’ve always heard the opposite, that real taxis are significantly more dangerous.
Ubers are sent directly to you, and everyone’s identity has been verified.
Compare that to flagging down a random taxi, where you have no idea who the person is before you get in the car.