It may very well be that after this Olympics, the IOC will have to draw some arbitrary line (e.g., if you are a female with testosterone-sensitive Y chromosome, then you can't compete with females).
It is possible that the top athletes in many sports have a yet to be discovered rare genetic condition that allows their body to recover faster, gives them faster twitch muscles and supreme mental focus. That's certainly a genetic advantage.