Real estate is a consumer good. The fact that they are seen as investments shows the distortion of the current system.
Of course, there are ways and means of investing in real estate, but seeing them as a store of value is an error caused by the current system, in my view.