Costco on Thursday reported mixed earnings for the fourth quarter.