Maybe I haven't invested enough in stocks to have a good feeling for it, and I've certainly never *actively* invested in individual stocks.
Let me give you an anecdote with my Vanguard Roth IRA, which an S&P 500 index fund. This is widely considered to be a "safe" investment, and nominally it's averaged 7.8%. I've invested roughly $35k in that since 2000 (contributing every 3 years... saving for downpayments or paying for a move the rest of the time). In 2015, it is now up to $55k. True my Roth started with a smaller amount, but it hasn't even doubled what I've put into it over 15 years! I am not impressed.
Compare this to real estate. Even going through the worst housing downturn in US history, my home in Utah appreciated 60% over 12 years, an average of 5% a year. I paid full, MLS retail price for it in 2003, and had the fortune of being able to put half down on it, so cash-on-cash was closer to 10%. That's just appreciation. Account for the fact that I didn't have to pay rent, and for many years (when I became an accidental landlord) I rented it out (well below market value, I might add). Even *after* tax, under-rented, and not yet understanding that I could take depreciation as a deduction, I was netting $12k/yr, about a 5% cap rate. Any serious RE investor would laugh at these numbers and slap me, but this was "playing it safe" as a homeowner, not an aggressive RE investor. Even then, if you count for both appreciation and the "roof over your head", and subtract out actual expenses (new windows, furnace, etc.), homeownership has been about a 14%/yr investment. A high-growth fund won't come close to those numbers over 10 years.
It's safe to say that the lions share of increases in net worth all came from real estate. My "conservative" primary home appreciated $140k. My home in Austin (boy am I glad to be out of that hipster-ridden hellhole) appreciated $80k over 18 months -- even after fees I pocketed $40k, a 100% return on a cash investment of $40k down. I used this to finance a large under-market investment property in SLC, which I bought for $470k and immediately appraised for $630k. With that one purchase, my net worth increased 30% overnight, and my net income increased by 45% thanks to rental (which again, most serious RE investors would laugh at).
What's great about real estate is not just leverage (that's huge), but that you yourself choose to make a deal or to walk away. Compared to stocks, this is really powerful. Most of the people I know who went underwater or foreclosed are guys who seriously overbuilt/overbought, never really had the income to support their mortgage, or had a messy divorce or death, or were wage slaves who didn't have the luxury of buying and selling in the right place at the right time. Investors have those luxuries. Not to say it's fool-proof, but I feel much better about RE than any other investment.
I suspect if you're a licensed equities investor, or have options to exercise, you can play the leverage game with equities and get similar (or better) returns than in RE. But for most of us, equities are a suckers game that are only marginally better than putting money in bonds, and in the short term can be much worse.