Analysts say the remarks are less a sign of closer US-Taiwan ties than another example of Trump’s unpredictability.