President Donald Trump has said that the US military struck three sites in Iran, directly joining Israel's effort to decapitate the country's nuclear programme in a risky gambit to weaken a longtime foe amid Tehran's threat of reprisals that could spark a wider regional conflict.