Amazon announced the second major round of layoffs in three months, as it restructures after pandemic-era over-hiring and expands the adoption of ‌artificial intelligence tools.