All these companies began with a gauzy credo to change the world. And they had indeed done that, but in ways they hadn’t imagined at the start, increasingly with troubling consequences from a flood of misinformation to a society becoming isolated and addicted to its gadgets.