President Donald Trump has accused Iran at the U.N. General Assembly of building "dangerous" missiles and exporting violence throughout the Middle East.