US President Donald Trump warned that a potential Supreme Court decision limiting his authority to impose tariffs would undermine national security, as the country awaits a ruling on the legality of his tariff policies.