The CEOs of several major social media companies faced a bipartisan grilling from senators calling for them to do more to protect underage users.