US President Donald Trump says Iran is “pretty much at the end of the line," claiming it has lost key military capabilities, but indicates the conflict will not end immediately.