Used a Nobel prize winning formula that allowed them to invest, hedge their bets, to spot bubbles early and exit them before they burst, earning phenomenal amounts of money for its investors...until it didn't. There is always something out there that people forget to plug into the system, some obscure variable that one day will bring the whole thing crashing down. AI isn't magic, it still relies on mere human beings to tell it what is worthy of specific notice.
The problem is that everything is focused on fattening the owning class. Clearly this is no way to run an economy, unless mass starvation and civil unrest are what you are looking for. All the schemes have absolutely no mechanism for scraping profiteering off the top and circulating it back at the bottom as a way of supercharging an economy. Instead, our present system encourages stratification with entrepreneurship and innovation largely crushed while public works are undone, the tax burden shifted from the rich to the rest.
We know exactly what o do about all of this with no AI program needed. What we lack is a sufficient crisis to break the system down so that we can implement it. Overreliance on an AI program might just provide the crash.