This takes place in our modern world, combined with a magical setting. All our modern inventions are here.
After reading my question here, a wizard in this world (different world and magic system from that question. This wizard uses a divination school spell to peek the other world) decided to make an app called "Spellbook".
As the name suggests, Spellbook mimics what a spellbook does: stores spells. But it does not only that; by using the speaker, it can actually read the runes and cast them. The app is a boom [sic] and spreads like Instagram.
Fast forward several decades, humanity has now developed an AI that has turned hostile against humans. It has taken over the internet and computer devices, including smartphones. Fortunately, it has not yet decided to exterminate humanity.
The AI resides in Silicon Valley (on a server cluster). This AI has learned to use Spellbook to maintain itself (electricity, air conditioning, and such) using the building's PA system. Of course, this also serves as a security system: anyone caught trespassing is as good as a fried corpse. Or a stone statue. Or maybe just banished to the 8th plane.
Given that:
- Magic can be activated by chanting the runes. There's no mana needed.
- There's no summoning magic. The AI is on its own (all maintenance is done by itself)
- There's no self-sufficient backup other than that site.
- The AI has knowledge of all spells in the world and every counterspell to them (including dispel).
How to defeat this AI before it activates Fireballs on each and every smartphone in this world?