A senior Russian security official has sharply rebuked US President Donald Trump’s statement and warned of the risk of a third world war.