AI is expected to drive recovery in 2025 after a two-year slump