American president makes clear he does not want ‘potential war’ with Beijing as he touts his ‘great relationship’ with Chinese leader.