Those town centers have survived cars in many places outside North America. In Netherland it's very common to have houses above shops, and in newer developments, either parking or public transport below ground, while the ground level is mostly for pedestrians and bikes.
It's mostly North America (both US and Canada at least; no idea about Mexico) that seems to have outlawed this style of building, and enforced extremely car-dependent suburbs, big box stores in a wasteland of parking lots, and dangerous stroads to connect them. I've heard that the main thing that's driving American cities to bankruptcy is the cost of maintaining inefficient suburban infrastructure.