Omnethoth

The Omnethoth was a sentient weapons system designed by a race called the Masters, who created it with universal domination in mind.

The Euterpians and Greld used the Omnethoth and the battle shroud of the Semquess during the Millennium War, destroying an entire galaxy to destroy a thousand of the Mad Mind of Bophemeral's fleets. (PROSE: The Quantum Archangel)

The Omnethoth eventually destroyed the Masters and then found its way to the Minerva system, where it totally destroyed Yquatine. The Eighth Doctor reprogrammed the Omenthoth to make them tame and harmless, after which President Vargeld of Yquatine had them destroyed. (PROSE: The Fall of Yquatine)