The US president has threatened to impose a tariff of up to 300 percent on imports of semiconductors.