He was speaking at the end of a tour of the National Museum of African American History and Culture in Washington, which Mr Trump said showed "why we have to fight bigotry, intolerance and hatred in all of its very ugly forms".