Amazon received about $600 million in tariff refunds after the Supreme Court struck down many tariffs. The company said it will return some money to customers and invest the rest in lower prices.