I read once about a park in the U.S., built by rich people, and the roads to access the park had underpasses purposely built too low for busses (i.e. public transportation) to pass under. Therefore, only people who could afford personal vehicles could get to the park. I can't find this story on google. Did this really happen?
If this is a genuine question you might be best served by asking tomorrow, once the subreddit-wide April Fool's day joke has subsided.
I mention this because I think what you're referring to is historical, in a sense. You might be thinking of Robert Moses, the "master builder" of much of New York City's 20th century infrastructure. Robert Caro, in his famous biography of Moses called The Power Broker, says that Moses designed access roads to his parks to include low bridges, to keep both trucks and buses from reaching the parks. For that reason, the Northern and Southern State Parkways in Nassau County, Long Island, both have purposefully low overpasses.
Caro attributes these design features to Moses's intention to, as you say, exclude all but private passenger vehicles from Long Island, including his many parks there, which he says was also an outgrowth of Moses's latent classist/racist tendencies. This is conjecture even in Caro's work, but it is one interpretation, perhaps even the prevailing one, of Moses's design choices.