US President Donald Trump threatened to take trade actions against the EU after it fined Google $3.5 billion for exploiting its advantage over rivals.