Even tech giant Microsoft and its Windows Phone failed to thrive in the face of the heated competition from Apple and Google.