Leaders from China and Taiwan have congratulated Donald Trumps national election victory, despite growing uncertainty about how his second presidential term might impact dynamics.