Tech Chief of social-media company cites activist groups pressuring advertisers, as many staffers brace to lose jobs