As AI transforms the workplace, Walmart shared a strategy any founder can use to reduce turnover, build loyalty, and develop future leaders.