President Donald Trump addressed the Asia-Pacific Economic Cooperation summit in Vietnam on Friday against a backdrop of regional trade tensions.