I think it depends on how and where exactly you invest in it. If you do some research you will realize that there's barely any billionaire who in their possession of assets doesn't have houses, some don't make money from it at the time but it doesn't change the fact that it is something you could sell later for a better price. There's so many ways to make money in real estate. From the buying and selling of lands, to that of houses, and even building it all from scratch and selling it with your gain.
And I see that you say "VS buying Bitcoin". Don't forget that while Bitcoin has been doing well over the years, it doesn't mean that it is the best investment. In fact, there's nothing that is the best. All investments have their advantages and disadvantages.