However, founder Jeff Bezos reversed the company's fortunes with help from a surprising source: Costco Wholesale Corp.