I feel like the modern civilization (or at least world order) is likely to collapse before we reach AGI. Either due to this:
Or due to the impending climate disaster.
Or due to a certain orange person with alleged dementia nuking China.
I don't think humans will go extinct (not for a while, anyways), but scientific progress will be on pause for a while there.