A U.S. trade court has blocked Donald Trump's sweeping global tariffs, saying the president overstepped his authority with the measure.