President Donald Trump said Thursday that the United States was in talks with China on tariffs, adding that he was confident the world's largest economies could make a deal to end a bitter trade war.