By what mechanism do our nerves lengthen as people get taller?
They grow

Nerve axons can grow rather quickly as long as the body of the cell is intact, quickly as in the mm/day range. This is also the basis of how nerves can regenerate.