I judge companies on how they behave when they're "at the top" - MS in the late 90s-early 00's or Google (Android and search) in the late 00's - now.
The reason is that companies at the bottom have to behave nicely (Cyanogen learned that the hard way), community-cred is literally all they have. You judge companies behavior once they get to the top and can do whatever they want.
Now, back to the topic, MS was losing developer cred lately(and don't want to become IBM), so what do they do? They Open Source some developer tools and part of their language (less than Java, BTW). Oh, they also realize that developers were switching to Apple and Linux, so they added WSL.
It's not they became ethical, it's not that they're stopping vendor lockin, it's not that they're going to finally fully document the Win32 API (their online documentation is quite often inaccurate), it's not that they're going to allow you to stop their spying (unless you're a huge business who had enough purchasing power to actually leave - try telling the CIA that if they're using Windows, everything they type is seen at MS). They're at the top there and don't need to do any favors to anyone.
MS is simply business as usual.