Amazon to cut 18,000 jobs, joining other tech companies in the wave of mass layoffs