Make a major push into space. That way the aerospace companies get all the big, fat contracts they need without making what amount to murder weapons. Plus we get minerals, and many even energy, from up there without plundering Earth.
Works for me, except the military connection isn't as direct. Our hopelessly bloated military is, however, the world's largest consumer of petroleum. In fact, a scandal is brewing in which the Pentagon charges the various services about $1 a gallon over retail, and pockets the difference in a secret "bishop's fund". The Navy is starting to make some noise about this.