I don't think there's any expectation that humans will go extinct. We're here to stay. Suggesting this is about the extinction of the human race is a strawman.
The question is each of us needs to answer around having kids is firstly about whether or not you want to raise them in the world we live in, and secondly about whether you want (or care) that your children live in a world where the climate is broken, and having to deal with the resource issues, heat, wars over liveable land, etc. Heck, I'm sure plenty of people on HN are under 30 - there's every chance that they'll be around to see these problems first hand.
People who do want to have children are arguably very fortunate that there are lots of people who don't. The children who are born with have to deal with less contention for resources. That said though, they're still in for a pretty bad time by all accounts. Even if technology magically fixes everything, you still have to wonder if your kids will be in the part of society that can afford it.