Costco beat quarterly profit estimates, with tariff refunds helping lift results above Wall Street expectations. The gain underscores stronger reported performance for the quarter, though part of the upside came from trade-related reimbursements.