Amazon cuts jobs in 1 division, fueling its AI spending push