When Spock says — again and again — that the exterior of an enemy vessel/machine is indestructible you should just know you have to fight it from the inside. There’s nothing funny about this episode. They destroy one weapon of mass destruction with another, the only positive use of such a thing.
The theme here was revenge, mostly. Did the planet-eating machine remind anyone else of Kirk’s inability to spare cultures when they get in his way?