I have to say there are not a lot of people who became rich by just investing. Sure, Warren Buffet is a good example, but when you look at the top, you see that building something is a better way of getting richer, instead of just investing.
If you want a regular amount of "wealth", like what would be enough for you to live without ever needing money, depending on where you live it could be 100k to 1 million. In that situation you could invest and hope to reach that level, but even that would be quicker if you had a successful business instead. This is why it's smarter to just focus on what you could build with the money you save and invest, instead of keep doing that.
That is mainly because you are looking at the very top, and at the very top people can't be that rich if the thing they invest into is not even higher. If you invest and buy 10% of amazon, that means %90 of amazon is still not yours, and for you to be rich then you would have to buy 10% of 10 other companies like that to equal amazon.
However, none of us here should aim at levels of Jeff Bezos or Elon musk. It's enough to have 100k or so, that's more than enough and would change our world, that's a lot of money in anywhere of the world. That's why always focus on making money at the low end, and then you would be able to change your entire life.