Households earning more than $100,000 made up 75 percent of its Walmart’s market share gains in the third quarter, chief executive Doug McMillon said.