The returns to real estate are only remotely competitive _after_ leverage. Unlevered returns are extremely pathetic.
Also, there's leverage baked into most stocks. Corporations will lever up.