US President Donald Trump says America will withdraw from dozens of international and United Nations-linked organisations, arguing they work against US national interests.