Barry and the rest of Team Flash don’t know it yet, but the person who created the samuroid is none other than the Thinker.
If not for Wells, Team Flash never would have realized that another power was in play that led to the 12 metas gaining their abilities on the bus.
Instead of the instigators of the meta creation, they’re just one piece of the Thinker’s grand plan to make the metas happen.
Although the Thinker discovered in “Luck Be a Lady” that Team Flash has more brainpower than he gave them credit for, he reminded his assistant that he’s still smarter, and I have to agree with him.