US President Donald Trump says he will end all funding to South Africa over government's land confiscations.