Trump ruled out a deal with Iran, claiming the US could end the conflict at any time but wanted a lasting solution.