The thing with legal taxis is that the quality of their service is complete shit. At least in some countries.
You dont know how much you will pay (their estimates are always too low) and the first questions by the driver are to check if you know the town. If you dont sound like a local, then they will drive you through the longest route possible. And worst: you can do nothing about it. No way to report the licensed driver. Before uber it was like a license to steal.
In uber you can give 1 star - so the cheaters dont get any customers + you have some idea of price and route.