Iran warns of risk of ‘expansion of war’ beyond Middle East