Humans are already a hybrid organism that works to ensure survival not only of genes but of culture and knowledge. It's not difficult to imagine a machine civilization would do the same: not only preserve their construction patterns but also their intellectual achievements.
However, none of that is strictly necessary - because evolutionary pressure still applies to machine species in the same way as it applies to us. Machines that stay at home and don't propagate, well, won't propagate. Eventually someone comes along who does propagate and the stagnant species will fade away. There isn't really any difference in mechanism between what we consider biological lifeforms compared to machine ones.
Edit @jimmytucson: HN doesn't let me respond directly, so I'm clarifying my answer here:
> And I can’t see any reason why it would, tbh
It doesn't technically need a reason. The fact that those machines who do replicate eventually dominate the landscape is enough, on its own. If 100 billion machine civilizations choose not to procreate but one does - that's the one that eventually seeds the ecosystem.