Aside from how this is formalized in grammar rules, you aren't comparing like with like. You'd say "John and Jim both have a hook for their right hand", not "John and Jim both have a hook for their right hands". Or you could say "John and Jim have hooks for right hands".
Similarly, you can say "All multiples of ten have zero as their units digit", or you can say "All multiples of ten have zeroes as their units digits".
So the answer to your question is that you can phrase this either with singular or with plural, but you don't mix the two.
"All even numbers have even units digits" and "All even numbers have an even units digit" are both grammatically correct. You can dispute whether one of them suggests more strongly than the other, that a number can potentially have more than one units digit. But since we know that's not the case, no such difference in meaning arises in practice for that example.
Applying the same variations to John and Jim: you can say "John and Jim have strong right arms", but you would normally avoid "John and Jim have a strong right arm". It's grammatical and might make sense in context, but the construction rather suggests they have one between them instead of one each, as you might say "John and Jim have a labrador".
You can say "All men have a strong right arm" (not true, but it parses). The implication of one arm between them could still be drawn from that, but it's much more of a stretch, it's not the "usual" meaning. So there's a difference between saying "all" and providing a list.