Fear that artificial intelligence will be used to disrupt elections is spreading. Over the next year, the strength and resilience of democratic institutions may be tested like never before.