Rethinking democracy for the age of AI