Carrying on the baseball analogy, real estate is like hitting singles. You just consistently work on it and you will get rich slowly. In fact I'd say it's hard to not get rich in real estate. It forces discipline.
Stocks is like home runs. You can keep striking for the fences but you may come up empty handed. But if you hit it you can get rich fast.
Luckily you don't have to choose one or the other. You can have both.