This isn't about race or gender or whatever - just innate difference between individuals.
Define intelligence.
But in fact, I believe with enough time you can get used to any level complexity and find your way through it. It is a bit like a big city: however complex it is (intertwined roads, subways, highways, etc.), if you live there long enough, you will get a precise mental model. Same with software projects: after some time, abstraction will not be those foreign short lived unstable concretions that you hold in your head and that vanish away if someone says hello. They will be good old friends and the sole invocation of their name will instantly call a lot of solid knowledge to the bar.
So in this line, I'd say clever guys are just faster and more agile (maybe both are the same thing). Above a certain level of tolerance to abstract thinking, anyone can understand and work on big complex projects, given enough time.
There is another difference between good and great developers, though. It is the "best path-finding skill". For instance, given enough time, I would probably be able to write a Python script solving most sudokus, but I fear I wouldn't find as elegant and straightforward a path as Norvig's. http://norvig.com/sudoku.html
For some people, for certain skills, "enough time" > lifetime.
Nobody can beat Chrissie Wellington. Nobody.
I don't think of it that way, at all.
Even if you are only moderately good, you'll have a unique combination of knowledge that allows you to see things that others can't, and that will enable you to do amazing things.
Of course you should always try to improve. But consider where you invest your time. If you know X well, and most people that know X well also know Y well; then maybe you should learn Z instead of Y. Don't always choose Z -- maybe X and Y are complementary and so it may make more sense to learn Y than Z -- but if you follow someone else's curriculum exactly, you will only be re-discovering what they already know.
As an aside, why do we beat ourselves up so much over this sh*t? We're the most self deprecating group of professionals I've ever met..
1. There are people who are so much better at programming than me, that I could work my entire life and never be as good as they are right now.
2. There are people who are so much worse at programming than me, that they could work their entire lives and never be as good as I am right now.
Its a continuum, a hill. Feel the gradient, walk uphill.