Walmart CEO Doug McMillon expects prices to remain elevated and the retail giant is adjusting inventory based on inflation and a consumer spending slowdown.