Obviously, I don't think they're completely invulnerable. Otherwise, it'd have been impossible to wipe them out, and the Seraphim will lose eventually as a matter of fact. The most I can think of in this case is that lightning influenced his circuits, and hence the smoke. His body took no damage. Oda's trying to hype their defense in this chapter, he's showing us how they can resist different kinds of attacks.