The CEOs of three of the world's biggest online platforms faced a litany of questions from US senators over how they police content online.