Didn't go well for South America in the 60s and 70s but perhaps, as economists are prone to saying, "this time will be different".
South America didn't have a mix of domestic and foreign investors deploying massive quantities of private money into capital assets in the 60s and 70s. They had governments borrowing to fund their citizens' consumption. Massive difference on multiple levels.
The problem here being that it was money spent that was never earned back, and money that eventually had to be paid back, right?
This can also happen with private capital. 2008 was a bust caused by private banks, for example. AI hasn't proven to be profitable yet [1], and I'm not sure it'll makes a difference, for the success of projects like this, wether the money is coming from government or not.
In fact, if the 2008 bank bail-out, auto industry bail-out, the Silicon Valley bank prop-up, and other such actions by the US government are considered [2], if this turns out to be a bubble it will be taxpayers who end up fronting the bill.
[1] https://www.cbc.ca/news/business/ai-generative-business-mone...
[2] https://www.investopedia.com/articles/economics/08/governmen...
Haven’t all three examples you note (2008 crash, auto bailout, and SV prop up) resulted in a net return/gain for the taxpayer?