Real estate and subsequent policy is hard. Everybody has to live somewhere, and people who work have to work somewhere. Those places have to meet all sorts of standards which cost money, even if we can all agree they are necessary (ex: running water, bedrooms need window access for fire escape, etc).
The costs of real estate raise the costs for everybody. The renter. The company on floor 6. The bagel shop around the corner. When their real estate costs go up, the rent goes up, the prices of bagels go up, and so on.
There is no magic wand to fix this problem. Like climate change, it is an enormous problem that requires action on as many fronts as possible.
As far as we can tell, population will keep rising, and the value of land will keep going up. Real estate cost problems are never going to just go away.