Trump and Iranian leaders have exchanged fresh threats ahead of the United Nations General Assembly, where delegations from the warring countries will be in attendance.