There should be a study of the comparison between the cost of running a mass transit system and the cost of subsidizing a ride hailing service like Uber. I presume it would be per passenger-mile.
I’m sure there would be areas where mass transportation would be much more cost effective. But there are most likely areas where ride hailing is cost effective.