President Donald Trump has warned the European Union he will no longer put up with what he says are unfair trading practices during an interview on CNBC.