Retailers are adjusting digital investment priorities as artificial intelligence becomes part of the shopping journey.