Who knows if it was only due to genes? And more importantly, there isn't a gene that's about running faster. (sure, some genes are helpful and might get you in front - not discounting the work the athlete goes through)
Getting to the podium is a mix of several characteristics: Some people might be more prone to muscle recovery/injury resistance. Another one has a better muscle fiber mix. Another one has different muscle attachment positions. And another one feels less pain.
Though yes your genetics probably will push you towards a sport. Take the 100m finalists and put them to train marathon (and vice versa) and they'll probably go to the back of the pack even with good training.