Software giant faces intense competition from Alphabet, Amazon and start-ups