Leech in its non-wormy form came from Old English ... where the word lekjaz meant either a miracle worker or physician. The doctor connection is long obsolete while the meaning we know now ...