And those cause quite a bit of damage.
AI has all the intent that we gave it, and we continue giving it. That's always been the fear. Not that it will randomly wipe out humanity.
The fear is that it will decide to do that, with a purpose. Whether we tell it to protect us and it goes too far, or it decides that it can't achieve the purpose we gave it because we'll interfere and it removes that interference...
The fear is that we will set it on that path and can't stop it.
I'm sure there have been some scifi books that have it just be random, but they're far, far less worrisome.