Retailers are staffing up in AI and e-commerce.