There are (in real life) many amazing examples of this (Bill Gates, "gates" being the fundament of computers, Tiger "Woods", the greatest ever user of "woods" golf-clubs, etc) and it is a staple of fiction.
Is there a single-word for this, or a frequently-used term?
Note that in fictional usage, I observe there is literal "X", so, for example I just saw a children's movie where "Madame Work" was a taskmaster. However, authors often employ near-literal "X": for example, most of the minor character surnames in Harry Potter are 'kind of" "X".
So, is there an "X" for Bill "Gates", Tiger "Woods", an undertaken named Mr. Death, etc? Sorry if this has been asked already, I couldn't find it.
Note - I've just found there's a "wikipedia" page claiming 'aptonym' or 'euonym' is sometimes used. Wikipedia is often valueless, so I do not know if this is a meaningful claim.