Could artificial intelligence benefit democracy?