Attacks on Google boost the market for cyber-security just as government weapons spending is expected to slow. Military firms are retooling for rising demand by corporations as well as government. For U.S. military firms, the latest revelations of highly sophisticated hacker attacks on Google Inc. are highlighting a new reality, and a potentially lucrative business: The battlefield is shifting to cyberspace.