The market only cares about your quality of life if that translates to significant profit. Nobody has any claim in such a system to live near a city, with any level of comfort. So insanely long commutes and inhumane cage homes should not be a surprising result.
As the value of being in a city rises, the equilibrium will be to make life maximally miserable for those who can't afford the luxuries present in a city. And for those who can, the equilibrium is to make things minimally comfortable for those people to decide to continue generating economic value.
The market has no reason to provide affordable housing to people who cannot afford the economic value of the land beneath it, so the alternatives the article suggests - building a lot of housing (artificially distorting the market) or providing strong social services (artificially distorting the market), unsurprisingly, needs to artificially distort the market.
There are clearly things we care about that the market does not reflect. Money does not capture all the things we value in society, including economic diversity within a city, so expecting purely market-driven incentives to solve this issue is naive.