Retailers are feeling the competitive pressure to stay up to date on artificial intelligence, according to annual reports from Macy’s, Target, American Eagle and others.