A new survey sheds light on how major brands are investing in artificial intelligence and what decision-makers in the retail and e-commerce industries should be doing to better harness the technology.