The US president says he wants Beijing and Taipei to "cool down" tensions over the self-governing island.