You seem to be concluding genetic factors ("always had an intrinsic motivation"). But "not all environment" does not imply "some genetics", that is a false alternative.
There are more possible factors than just environment and genetics. One is human choice (sometimes called "free will", but that term has a lot of baggage). I do not agree with the perspective of attributing everything to factors, rather than a person's own choices.
Genetics certainly have a role in some sense. If you had different genes, you would have been a cat instead of human, and would not have the brain to be a software engineer.
But the general idea that life is very complicated, and the results of people in similar situations vary -- true so far -- simply does not imply (partial) genetic determinism. "Environment", or more generally alternatives to genetic determinism, is/are very subtle and complex. The world is vastly complicated, "environment" refers to a million factors most of which no one documents.
You had, in many respects, a different life and environment than anyone else had. Everyone has a unique environment at high precision. So whatever result you get, what would that prove?
You wonder how a person with several factors against them could be intelligent and successful? You can't think of any ways, besides genetics? There are a million ways. Poverty, non-wonderful discouraging parents, poor teachers, and whatever else are not one's whole life. You met many people, some more helpful than that. You read some books. Even just an ordered list of what books you read up to age 20 might be unique.
People don't start the same, but even if they did, things would quickly branch, again and again. 30 identical students sit in a classroom. The teacher explains something. By sheer randomness, if nothing else, some students understand it today, and some do not understand it yet. Then the next day the teacher gives a second lecture. Everyone hears "the same" lecture, but they have different situations (having understood or not understood yesterday's lesson), so different students experience "the same lecture" in different ways due to their different situations and perspectives. Similarly, in general, people in "the same environment" are not actually having the same experiences.