The next retail battleground could be AI recommendation engines, according to UBS.