I disagree with the idea that somehow, innate intelligence sets the bar so low. There's definitely a bar somewhere, but I'd argue that most of our jobs (even in tech) don't come anywhere close to reaching that limit.
I'd argue that most of us here are of pretty average intelligence, it's just that our life circumstances have pushed us into a role where we get to exercise our brain muscles.
One thing is that having good teachers helps immensely. For a a lot of people I meet, when they reflect on their high school math and programming classes, the story is always the same: They had a lousy teacher that had them do everything by rote memorization, without explaining the underlying principles. They got the impression that that's what the whole field is like, and that they weren't smart enough, so why even bother. Occasionally, they'll be interested in hearing me explain what I do, and their response is always the same: "Wow. I wish someone had it explained it that way to me before."