The stock's struggles in 2026 had been due to concerns about its aggressive AI spending.