AI poses amplified threats but may also serve as our best ally.