The US president says he will impose the temporary levies, after the top court struck down his sweeping tariffs.