Amazon cuts thousands of jobs amid AI push