President-elect Donald Trump has confirmed his intention to withdraw the US from the Trans-Pacific Partnership (TPP) free trade deal.