You can’t buy stock in AI. You can buy stocks in companies.
The internet was destined to be big sure during the dot.com but most companies crashed.
The bubble popping issue would be that there isn’t a good way to recover the capital used to build the AI models.