I have seen the device that destroyed that planet, it eats planets, smashing them to rubble, digesting them for fuel:
http://www.st-v-sw.net/images/Trek/Series/TOS/TOS2-doomsday-blast2.jpg
And it was built by Halliburton. It's all Bush's fault. ;)