US President Donald Trump will take any measures necessary to prevent North Korea's missile development.