Retailers are beginning to use AI to automate certain parts of the merchandising process, to determine what to order or even make deals on their behalf.