Retail giants Walmart (NYSE: WMT) and Costco (NASDAQ: COST) are recognized for offering shoppers bargain prices with a long history of generating massive shareholder returns. Despite different business models, both companies are having a record year with stronger-than-expected sales sending shares…