Ah! But you see right there... They didnt fall apart because of electricity. But because they used realism and realistic thinking in a fantasy setting. :P

Too much of it is like kriptonite for fantasy creatures, eh?

Besides, its clearly a humorous take on the very common trope of such games.
It is fourth wall breaking but, what can you do. people make games and they they put in whatever they want, eh? (there were much worse examples of it in BG games too)