Innisfil, Ontario, decided to partially subsidize ride-hailing trips rather than pay for a public bus system.
It worked so well that now they have to raise fares and cap rides.
Read more about this in the following article: Innisfil Update
8/10/2019 Update: “Exploring Innisfil’s Uber public transit experiment“