Thank you.
As a preliminary matter, as investment vehicles publicly traded stock is a liquid asset, whereas real estate is an illiquid asset. Generally one invests in liquid investments so that they can be readily converted into cash when needed.
From the tax perspective a building/building owner would at all times be subject to continue paying property taxes. If there were some equivalent wealth tax for stock holders then at least society wouldn’t lose out entirely on this kind of tax avoidance scheme designed for the rich, but I’d still probably prefer these billions in bank loans go to qualified home buyers before lending it to the world’s richest man to circumvent a taxable event.
It could change rapidly and people can get wiped out quite quickly when it does.
On the flip side, selling the assets would have no strings attached to the cash.
Further, it is definitely not guaranteed as you assert.