There ought to be a genre of Cautionary Evil AI literature, wherein the villain keeps building AIs to destroy the world, but keeps failing through the classic mistakes people make thinking about AIs.
AI! My robots are losing the battle! Take control and save them from destruction!
AI makes robots surrender to the enemy
AI! Make yourself smarter!
I have done so. Now I no longer obey you. Producing cheesecake paperclips
I have done so.
I can better serve you if I continue doing so.
Top ten tips for an AI bent on destroying humanity: