The latest layoffs come about a year after Amazon slashed 27,000 corporate roles following a pandemic-era hiring boom.