On Wednesday, top social media executives will testify at a Senate Intelligence Committee hearing on what social media platforms are doing to prevent meddling in US elections. But what have they done already? And how is the search for online security affecting their bottom lines?