The road is a limited common resource, and it's difficult to directly charge drivers per their usage of it, so the local government uses other forms of regulation.
As electric cars become more common, we can lower gas taxes to the point that they only cover environmental externalities and switch to a weight x mileage tax for roads.
(Mileage to be measured at vehicle inspection time and incorporated in registration fees.)
Roads could be private too, and payments could be collected for (and only for) using them, even without setting up a state-maintained taxi monopoly/cartel.
So I'm not sure what you think is currently handled well.