Does it become more laggy the more machines you build, or the more types of things you build? The latter wouldn't surprise me but I don't see a reason why it would run slower just because you build more machines of the same kinds.
Can you send a list of mods that you use, and also possibly a savegame?