Public transit also doesn't scale. Germany, during the Covid years, introduced a cheap country-wide flat fee ticket (~50 bucks per month, all you can ride) for public transit. Which lead to road traffic going down measurably. Which lead to trains and busses being packed, people traveling more and farther on those. Leading to higher cost, degraded service and packed bus stations and rail lines. Building more of those isn't possible geometrically as well, cities are already packed. We are currently, at tremendous cost and effort, moving railway lines and stations underground, like Stuttgart 21, for that reason.
The point is, moving people inherently is bad. Shifting from cars to public transit reduces the badness a little, but you still need infrastructure that scales O(p * s * f), where p is the number of people, s is the average distance travelled per journey, and f is the frequency of journeys. Scaling doesn't change the slightest bit with public transit, you just have a different constant factor which is irrelevant for scalability.
So the solution isn't public transit. It is the avoidance of any unnecessary travel, meaning that we actually need something like a tax on non-home-office jobs and stores that you personally have to visit (as opposed to shopping online). We need better delivery infrastructure so people don't need to travel. We need close-to-home shopping options. Because actually moving goods instead of people scales logarithmically, the network of countrywide, regional, local distribution centers, bigger shops, smaller shops behaves like a tree.