America’s biggest retailer faces an uncertain future amid still-high inflation.