No they're not. They're going to continue making enormous amounts of money from corporate IT lock-in, Azure, and AI.
Windows' biggest competitor is iOS, and many people have stopped using Windows entirely and just rely on their phones. Microsoft has had record profits since that started happening.