If public transportation is beneficial to a city, you've already missed the ideal mark by a long shot. The ideal city has no need for movement of people over distances where mechanical movement is the only practical option.
What is the ideal city lacking that sees you need to travel for other reasons?
Don't get hung up imagining the shitty cities of today, except without cars, actually think about an ideal city.
There are plenty of reasons you might want to leave somewhere even if it is quite literally perfect.