Amazon plans to cut about 16,000 corporate jobs in a second major layoff round as it streamlines operations and boosts AI investment.