The Costco earnings report also comes after Walmart gave a reassuring holiday outlook. Costco stock rose near all-time highs.