US President Donald Trump has repeatedly threatened to intervene in Iran after warning its rulers not to use force against demonstrators.