US Secretary of State Rex Tillerson says if diplomatic efforts with North Korea fail, a military option will be the only one left.