I remember there were talks around Win 2000 or XP that Microsoft was surreptitiously using open source software to improve their own OSes. If that is true, then it would be one aspect where Linux would be thanked.
The IP stack in Windows 2000 is the most famous example. It wasn't surreptitious. It was openly admitted and they followed the Berkeley license.
The first versions of Windows (through 3.11 I believe) were written on computers running Xenix. Internally, Microsoft uses Git (originally written by Linus Torvalds) for version control since 2017 or so. Microsoft has it's own flavor of debian that it runs on the network switches in its data centers. MS-SQL 2019 was released for Linux. Recent versions of Win10 can run Linux code (essentially doing the reverse of WINE). In 2015, the CEO of MS put up the slide below in a press conference. Finally, over 50% of all hosts in Azure run Linux.