The U.S. Army is spending billions of dollars shifting toward solar energy, recycled water and better- insulated tents. The effort isn’t about saving the Earth.