I wasn't sure if Yoshi-P was joking about liking the theory that the autoturret desired to be better and grew up, but if explained correctly, it makes sense. Soul Crystals have been known to act on their own. Play through the Dark Knight story. It's possible, manufactured or not, that the Soul of the Machinist has begun to mature into a full fledged Soul Crystal and has started to have epiphanies about how to upgrade your tech. Pretty simple theory, but it does the job.