N Korea has tested a dizzying array of missiles as it seeks to build a nuclear-tipped rocket capable of hitting the US.