Threats and Contributions of AI to Democracy and Society