There's an interesting discussion to be had about truly free markets, for sure.
However, the modern stock market is neither fair nor random. It's not accessible to you or I in the same way that it is to financial institutions. Front-running and dark pools are accepted as normal. https://www.youtube.com/watch?v=bP74RBTE8kI
I would also suggest that Warren Buffett does not see the stock market as random or gambling. When he buys a company, it comes after huge amounts of research. A good stock trader obsessively researches the companies that they invest in. While it might not be anything like a guarantee of success, I sure hope you have better than Vegas odds when investing in a company that you've learned everything you can learn about without becoming an employee.