Staying as big and powerful as Microsoft has been since the 80s is pretty difficult. Most companies don't manage it.
Bad responses to technology markets are increasingly expensive in body count and bottom line. Perhaps the smartphone was their "Edsel" (see Ford Motor Company's bad bet in the 1950s). Would really hope MSFT gets their act together to manage the OS they have and the technology they support.