Tech giants Amazon and Google’s parent Alphabet have posted a surge in sales over the last three months.