What if that's just the mechanism the machines take over the world?
Natural selection doesn't care why something replicated a lot.