I think a pretty good summary is about 3 years ago Microsoft realized it had a couple of failed stratagies.
1) Catering to casual. Xbox one launch is probably the best example. They wanted to become the home media center so the entire launch and discussion was centered around sports streaming and social media. + Kinect.
2) Desperately trying to get a foothold in mobile.
I think they realized people weren't going for either. Sony focusing on games and hardware killed it initially in sales, and still kind of does. Apple and Android had two corners of the market and MS could make a space for a third.
They pivoted, targeted "professionals" and that's what you see in their approach for Xbox & PC. I think it's overall good, but saying Apple abandoned developer is sort of desparate fear mongering.
Apple's strategy has always been pretty consistent, focus a lot of resources on making a good ecosystem. More recently it seems that's changed to "focus a lot of resources on making the best systems, and allow for a great ecosystem" with sponsoring third party monitors, and apple's home automation front.
I think it's still a pretty good strategy, but with windows catching up with some "pro" features like their own premium desktops and laptops and adding in old features like "workspaces" people jump to say Apple "abandoned" them when they're still kind of sticking to the same successful strategy.