Retail accelerates investments in generative AI