Walmart (NYSE: WMT) is trading near its 52-week high, and its valuation may look expensive with the stock at a price-to-earnings (P/E) multiple of around 35. One of the problems in recent years, especially amid inflation, is that there has been significant volatility in Walmart's already thin profit margin: WMT Profit Margin (Quarterly) data by YCharts. By adding automation, Walmart can make the order-taking process more efficient with fewer steps, allowing the business to offer quicker service at a lower cost and be more competitive.