Yeah and cars are expensive, in real estate as well. A car needs like 20m2 minimum for a parking spot and the bit of road to get to it, if you build something like a garage. That m2 isn't really cheaper than living space, and that's half the size of a small apartment.
So most places either build less dense, or accept that wherever you go, there might not be parking spaces nearby. Which if you have public transport, often means its easier to park in some low cost P+R and take the subway.