Microsoft is staging a comeback — and, unlikely as this sounds, it’s one Apple and Google should be worried about.