The U.S. military is quietly working to integrate Apple computers into its systems to make them harder to hack.