In a wide-ranging speech at the UN, President Trump slammed the world body and singled out many of the countries in attendance.