US President Donald Trump rails against anti-racism training that he says is destroying national unity at an event titled the "White House conference on American history".