MSFT accelerated the invetiable.
There was just no way Nokia could match Apple on the OS who spent years prior to the idea of a smartphone making it a good match for the hardware of the time. And MSFT deservedly got punished for not investing in creating a better OS and Apple deservedly rewarded for doing so.