US President Donald Trump accused the South African government of mistreating Afrikaners and confiscating their land.