The IMF raised its 2026 global growth forecast to 3.1% on the back of the AI investment boom, but warned that resilience is being tested by energy constraints, record government borrowing and the specter of an AI share-price crash.