About a dozen major tech companies announced job cuts, including Amazon and Google's parent company, Alphabet.