Australia is leaning on its strong ties to the United States and a trade surplus to keep out of Donald Trump's firing line as he imposes tariffs on allies.