Investors are increasingly nervous about the sustainability of the artificial intelligence spending boom.