I believe that you can cut threads with a spark eroder, but that seems a bit OTT...