I know where they got their ideas from...the Sumerians!
Also, one thing the Egyptians did that wasn't mentioned in the article
is that they used pools of electric eels for pain relief. Someone
walked into a shallow pool of eels and the electrical charge as the eels
brushed their legs took away the pain of arthritis and other muscular
injuries. Not something I would want to do, but ingenious.