The NSA’s surveillance program is starting to roil some of the world’s biggest companies