You cannot put these 3 kinds of investments on one scale and say which one is better.
There are many dimensions (risk, return, longevity, and many more)
Basically you need to differentiate speculation (hope to sell something to a higher price) and income (for stocks: dividends; real estate: rent). With bitcoin you get no income (no interest), only transaction costs. Nothing bad, but it is worth to keep in mind that it is a purely speculative investment.