理屈で言えば
完了形不定詞を使って それを分詞構文にも組み込んで
..., being the first person to have walked on the moon, ...
…でも良いのだけれど
the first person という表現だけで
わざわざ 完了形不定詞にせずとも 表現したい意味合いは出るので
the first person to walk on the moon
「月の上[月面]を\u0026quot;歩いた\u0026quot;最初の人」
…で いけるのでしょう.