Donald Trump has said he will talk with Taiwan's president about purchasing US arms. The move would break over four decades of protocol.