US President Donald Trump says Israel did not force his hand to launch strikes on Iran, adding he believed Iran was going to attack first and that he acted to prevent it.