The solution is to make the property-as-an-investment a less lucrative perspective by occasionally sabotaging the property value of (but not the ability to safely live in) houses that are not being used to house people.
A few high profile jury nullifications would probably be sufficient, but we gotta be the rational economic agents that the theories think we are and work together on this.