The IMF raised its 2026 global growth forecast to 3.1%, as AI investment helped offset the war’s energy shock.