Funny you'd say that, that's exactly the conclusion (the housing market, i.e. investment opportunities, being the cause of the housing crisis, i.e. lack of affordability) in this video essay from Philosophy Tube 5 years ago: https://www.youtube.com/watch?v=qihG6AGjkRk