Social media, machine learning and the end of democracy