In a move that angered China, Taiwanese President Tsai Ing-wen thanked America for its security assistance during her U.S. stopover in New York.