Poverty, that's how. They live in flats because they can't afford US-style houses (climate would allow them easily), and can't afford 70km average commute radius - car-only because sprawl can't be covered by public transport.
They live in apartments not because they are so conscious about urban planning, but because they can't afford to do otherwise. Give people money and they want to move to single-family houses in suburbs.