Are we talking about real estate on a micro, or macro level?
On a macro level given a long enough time span home prices will ultimately track inflation rates. This has been demonstrated by the Case-Schiller index for which the authors won a Nobel prize. But it also logically follows because if home prices were under inflation rates for a long enough period then homes would become trivially priced, and if home prices were significantly above inflation rates for long enough then everyone would be homeless as nobody could afford a home.
But nobody buys real estate on a macro level, we buy at a localized, micro level in our geographic area. Within that geographic area prices may or may not keep up with inflation depending on localized conditions. We are seeing a migratory shift on where populations choose to live. Thanks to technology, a farmer can now farm thousands of acres by himself. As a result, there are fewer and fewer people that actually farm because 1 person can farm the same acreage that used to require 20 farmers. As a result rural America is being decimated and these small towns are slowly dying and the real estate located in these locations will eventually become relatively worthless.
Transportation and manufacturing is being revolutionized. Major towns used to spring up based on key railroad intersections, waterways, or interstates. Now growth tends to be in areas that is aesthetically pleasing such as Colorado, or the coastlines, as well as areas where the weather is warm thanks to the invention of air conditioning. Northern cities like Cleveland that heavily relied on its geographic location for transporting goods are relatively flatlining in terms of population growth, while Texas, Florida, Arizona, and others are booming.
The bottom line is that while real estate on a whole will follow inflation rates, individual properties can significantly underperform or outperform the average inflation rate. There is only so much "prime" real estate, whether that be beachfront properties, properties sitting on a hill with a scenic view, or properties in cities that people naturally tend to want to move to. I'm sure Milwaukee is a fine city (I've never been there), but I've never met someone that was like "my dream is to someday move to Milwaukee." On the other hand people have dreamed about moving to California for decades. These types of properties will continue to meet or exceed the rates of national inflation for many years to come. So as with most things in real estate, its all about location, location, location.