We collectively decide what's ok or not. The market is man made, man regulated, if tomorrow we decide housing is a basic necessity we can change that
Meanwhile we let the Qataris &co buy flats in Europe capitals and keep them empty as investments vessels, I find that much more disgusting that "think of the investors =("