thank you for your message! First let me state that I totally agree with you that compost worms are not to be confused with robots. I value those little creatures a lot ,and will pick a worm up anytime and place it back into the safety of its worm bin, if I see it stranded on the pavement.
Compost worms are actually hermaphrodites which possess both male and female sexual organs so I believe it wouldn't be correct to call a worm either he or she.
But I have no masters degree of the English language and welcome input from anyone with a better knowledge of the language.