I figured that was the case for a lot of things we have developed, but it must surely be more efficient to not also have the military goals as part of the effort.
Actually, I think the best thing we can learn from the military would be how to organize and mobilize large numbers of people toward some goal. The same could be said for religion. Then it's down to choosing a good goal...
I've pondered what would happen if we could dedicate one weekend per month of sports to community improvement instead. Where I grew up, sports were a big part of life. Every weekend the many fields and venues were full of people working together (and competing). Just imagine if they could all be organized to put their energy (just one weekend per month) into goals that would benefit everyone in the area. Perhaps military command structures and communication processes could be of value here...