There are a lot of exciting jobs that require knowledge of Fortran (nuclear security, hydrodynamics, climate modeling, astrophysics etc).
It's better to work on AGI because it will solve all those fields as a corollary to its main function of being a self-perpetuating technological system. Any such system will need the listed functions especially if it operates on a planetary scale.