I can't see a future in which almost every system (both physical and virtual) are not automated and optimized by autonomous entities.
What do you do when everyone is out of a job?
If you don't want pitchforks and riots in the streets, you give everyone UBI and housing so society doesn't collapse.
As much as I’d love UBI to happen, in current geopolitiks it’s a no-go. People are not happy with having what the others have.
The beach houses, mansions, mountain views could be vacation places, or used as libraries, or simply dismantled for the materials.
The "slums" on noisy roads could be eliminated entirely and used for something people don't need to be at.
We'd move to a more equal distribution of assets closer to the middle line.