US President Donald Trump has issued an ultimatum for Iran to accept a deal to end the war or face intense renewed bombing.