Walmart Inc’s margins and online sales are expected to benefit in the second quarter as the largest U.S. retailer cashed in on shoppers using government stimulus checks to buy higher-priced products like sneakers and toys along with daily essentials.