Investing in the stock market consists of doing at least one of three things:
1) Attempting to predict the future better than other people. Good luck with that.
2) Managing your risk, so that you take investments that have slightly less risk than the likely return, as compared to other investments. Not that hard to do, but profits are small. Talking 2% better than the market.
3) Figuring out when people are making bad decisions and doing the opposite. I.E. Outsmart the mob.
#1 AI is trained to predict the future - but it does so by doing EXACTLY the same thing as the data it was trained on. It cannot predict better than the general human mob does.
#2 is relatively easy to do, you do not need an AI to do it. Lots of great measures of risk, any trained competent financial consultant can do this.
#3 requires an actual understanding of mob psychology, which AI does not have. It makes predictions based on mob psychology, it does not actually understand it.