Amazon begins layoffs amid economic headwinds