The South African president has hit back at President Donald Trump for claiming the government is "confiscating" land.