The supreme leader, Ayatollah Ali Khamenei, said that Iran will “move toward” a nuclear weapon if attacked by the U.S. or Israel, just a day after President Donald Trump threatened bombing the country.