US president Donald Trump has threatened the European Union with taxes on its car exports to the US if the bloc fails to play fair on trade.