This will hopefully make it easier to deal with. Humans perfect genetic engineering. Perfect humans are created and promptly take over the planet. Genetically perfect humans on Earth create Artificial Intelligence. Which promptly takes over the planet.
AIs declare war on Martian humans.
Martian humans, with backward technology and dauntless courage, destroy the AIs. Martian humans attack Earth's perfect humans. Humans take over Earth. I'm sure I'm wrong. Dates in Calendar are closer than they appear.