That’s the free market in action. You can’t afford something, so you don’t buy it.
you are missing the point, i don't care if i can buy this or not. i care that the street is attractive to people. if i do have a shop in the street (because i can actually afford it) then i care even more because if the street is not attractive then that is hurting my business.
the problem is not that i can't afford it. the problem is that NOBODY can afford it. free market rules then suggest that the value of that thing goes down and thus the price should go down too if the building owner has any interest in selling that thing.
and here is where the free market idea causes a conflict, because if they don't have an interest to sell then their interest and the city's interests are misaligned and the city should force the building-owner out.
or, you could also argue that the city itself is a market participant, because the city owns the land the shops are built on, and it leases or sells that land with specific expectations, namely that shops are built and rented out. if the renting out does not happen then the city's contract with the builder is violated and the city should have a right to take action.
You are failing to look beyond the effects of one individual transaction. No snowflake feels responsible for the avalanche.