The internet has become a cesspool of cyberbullying, bigotry and hate speech. Here’s how tech is trying to clean it up.