Can tech giants work together against their common enemies?

Facebook, Twitter and Google routinely squabble for users, engineers and advertising money. Yet it makes sense for these tech giants to work together on security threats, elections meddling and other common ills.