The UK is joining European allies in developing long-range missile systems, boosting NATO's defence strategy amid rising global threats.