The tech giants use our data not only to predict our behaviour but to change it. But we can resist this attack on democracy