Samurai Demon Warrior

The Samurai Demon Warriors are samurais that appeared in the 2011 film, Sucker Punch.

Overview
They appeared to be huge humanoid mechanical warriors with red eyes that wield machine guns and are physically trained lifeforms.

In the animated short, its reveled that the creatures are created by Lord Kougun, Master of the Black Arts, who used a forbidden element to make an army of demon samurais. They conquered sacred sanctuaries and throughout time so the lord would steal their mystical powers and become stronger.