Australia could face “consequences” if Donald Trump gets back into the White House, the Treasury chief says.