US President Donald Trump has repeated his criticisms of Australia, the UK and NATO over their response to the Iran war.