President Donald Trump and his administration are laying the groundwork to invoke national security to impose a new tax on pharmaceuticals and semiconductors.