Similar, but different story. In the 800s, looking for an immortality elixir, man discovers a solid black chemical explosive. In time (around 1132), this finds itself as an early propellant in ranged missiles. Later it uses in other applications: mining, firearms, entertainment, bombs and myriad others.
But the use as missile propellant remains. Looking for similar, but more powerful propellants for these missiles (to give them more kinetic impact, longer range, and other properties).
Progress was slow until the late 19th and early 20th centuries when liquid fueled rockets were invented as well as an entire host of various chemical explosives with vastly different properties.
Progress was rapid, and soon missiles could travel hundreds of miles, and had enough extra capacity to deliver even more powerful explosives to their target.
However, accuracy was poor at best. Various types of complex control systems were designed and built into the missiles. As man realized that missiles could be scaled up and lift payloads up into orbit and beyond, bringing the payloads down in the desired location became even more important.
Inertial systems, radio control, celestial navigation and even attempts at manned guidance!
However, navigating is a general problem, and not just useful for missiles. Ships, people, surveyors, and others, all need to know where on the earth they are. In the 60s, with the advent of orbital missiles and satellites, a system of satellites was placed in orbit. And using a complicated collection of quartz oscillators, early computers, and various radio receiving equipment, one could (after a number of minutes collecting data and inputting it into dedicated guidance computers) determine where they were on Earth to accuracy of a few hundred meters.
Enter the nuclear age which gave us ultra-precise clocks, combined with transistors, then integrated circuits and all segments of the navigation problem were improved. By 1978, these components were small and reliable enough that missiles pushed constellation after constellation of satellites into orbit. Ground receivers were small enough to fit into the bodies of other missiles enabling them to navigate to targets with accuracy in the single meters with constant positional fixes along the flight path.
Realizing that the navigation computers and radios were now small enough to fit on a missile, it also meant they could be fit onto ships, large aircraft, and large trucks.
Later improvements to atomic timekeeping, computers, radios and other pieces meant that the receivers could be made man carry-able and fit into backpacks, small vehicles and on and on. Accuracy was improved to inches, and missiles could suddenly be dropped into selected air vents in specific buildings.
Except suddenly nobody cared as much about moving missiles, they found that knowing where they and their stuff was in the world was far more interesting and useful. Further improvements in computing meant that the navigational radios and computers could fit into a handheld device, then be integrated with high quality geospatial data, heuristic path finding algorithms and suddenly we have satnav in our cars.
Reusing the same navigation tech and we find we can improve the geospatial data considerably, improving navigation. Fixing these devices to the ground and we can measure plate tectonics for the first time, track fleets of vehicles in real-time, saving millions of dollars in fuel, compute phasors in power lines improving power delivery systems, ultra precise atomic clocks means precise time synchronization (with accuracy +-10 ns).
Further improvements in miniaturization puts navigation into handheld phones, and suddenly we know what restaurants are nearby. Tie it to a database collecting reviews and we know if it's good. Tied to the previously developed navigation system and we can even get walking directions there.
In other words, most people don't need to guide a missile, but they do need to find a good place to eat. And when the technology developed for busting a bunker left the avionics systems it got people and their stuff where they wanted to go faster and with less confusion than before.
Today it's hard to imagine a time when we didn't know the exact location of just about everything.