Massive AI spending, competition from DeepSeek, and a fading tech icon--Is Microsoft still a long-term winner?