The pivot to AI comes with risks, including heavy borrowing and concerns about sustainability, with potential shortfalls if demand for AI slows.