Maybe those technologies were expensive at first and came down in price with adoption, but that's different than making the claim that if we just work on whatever rich people want today, we'll automatically get to places that are beneficial for society. Want to help the third-world feed itself? Perhaps you should invest your resources in that, not in a silicon valley nutri-shake startup.
Hell, most of your examples are cases where the military did something to solve a known problem that was too expensive (or too speculative) to be left to private industry. How you turn that into an argument that our best-and-brightest should be working on ad-optimization eludes me.
This industry, I swear: we whine about the loss of space exploration, and wonder what happened to our flying cars, but we brush off criticisms when someone invests millions of dollars in the sixty-seventh niche food-delivery service for the SF bay area. Perhaps the two things are related?