At the beginning of your upkeep, Mechanized Production triggers.
Holding priority, cast Masterful Replication by paying 5, causing all artifacts you control to become a copy of the artifact with Mechanized Production attached until end of turn.
Resolve the Mechanized Production trigger, causing you to create a token of the artifact it is attached to and win the game.