The integration of artificial intelligence (AI) is changed how retailers approach everything from marketing to inventory management.