US president’s remarks are followed by a statement by his secretary of state, Rex Tillerson, to the UN security council in which he said the US would take military action if necessary to rein in Pyongyang’s nuclear ambition