The reality is the companies create a large inelastic demand for living space, and the local government and property owners of exploit that for profit. If you just create adequate supply (build residential), or constrain demand (don't build office space), the problem doesn't happen.
https://www.wsj.com/articles/blue-peril-threatens-texas-refu...