Computer industry mainstays are rolling out technology to block surveillance, including by the National Security Agency, which fears “going dark” on terror threats.