When Donald Trump arrived at the White House for the first time nine years ago, he vowed to tear up the rule book, upend the world order and fundamentally change America's approach to its foreign relations.