Your comment about “smart people will have lots of kids who will save us” [paraphrasing] is ironically invalidated by Elon Musk himself, whose COVID tweeting and commentary is pure fact-free ideology (most infamously here: https://mobile.twitter.com/elonmusk/status/12407546572631449... but he’s still going: https://www.businessinsider.com/elon-musk-and-kids-wont-get-...) It is worth emphasizing that these comments are just straight-up indefensibly dumb.
I was trying to say, that the idea itself is often passed to children, via non-genetic means, and it will burn out the part of population bearing it.
But that's not fatal for humanity because there are many smart people who have multiple children, so independently of exact percentage of heritability of intellect we are not doomed.
And regarding to the snide comment about Elon, independently of his opinions on any issues, he have done enough to prove that he is smarter and vastly more useful to humanity than average people.
Edit: some people interpret this as saying that not wanting children is a genetic trait, but what i was trying to say was that it's a counterproductive idea which will eventually burn itself out, and there are many smart people who are not suffering from it. So we won't run out of smart people.