Donald Trump has accused Iran of "breaking the spirit" of the nuclear deal and exporting "violence and chaos" in the Middle East.