Retailers turn to AI to overcome staffing, supply chain challenges