US President Donald Trump has wrapped up his high-stakes trip to Beijing, saying he's hopeful the US and China will forge a stronger bond.