Trump's comments on Taiwan, a self-ruled island that China claims as its own territory, came as he flew back to Washington after wrapping up critical talks.