Linux desktop share is up 20-35% in the past year, depending on sourcing. Still only 5-6% total for US at least, but definitely a shift. MS is almost definitely making more money for o365 and Azure than Windows (though I don't follow shareholder releases).
From google's ai result Windows ($25b) is 1/2 the size of Office (54.9b) and 1/3 the size of Azure ($75b) in terms of revenue.
Windows is definitely not the cash cow for Microsoft it once was.