The expansion of artificial intelligence (AI) within Amazon is profoundly transforming how work is done at the company.