A REAL-LIFE Transformer has been created by ­scientists inspired by the Japanese paper-folding art of origami.

In tests, the small shape-changing robot folded itself into a functional machine that could walk and turn without human help.

But unlike the popular Transformers toys, robots that disguise themselves as cars and trucks, the device is not aimed at children.

Experts believe the assembly system could provide a cheap way to mass-produce robots with multiple applications. They may be especially useful for accessing confined spaces, for instance when searching for survivors in collapsed buildings.

A "flat pack" robot could be posted through a narrow gap or tunnel before expanding itself to full-size.

Origami is a traditional Japanese art that involves folding sheets of paper in cunning ways to form 3D shapes resembling flowers, animals or decorative figures.

Drawing on the same principles, US scientists built a self-assembling four-legged robot from sheets of shape-memory plastic containing embedded electronics.

Once connected to a battery power supply, the flat composite heated up, folded, and transformed into a mobile robot in about four minutes.

The 5in (12.7cm) long device crawled away at a speed of more than 2in (5cm) per second and was also able to turn without assistance.

Professor Rob Wood, who led the Harvard University team, said: "Folding allows you to avoid the 'nuts and bolts' assembly approaches typically used for robots or other complex electromechanical devices and it allows you to integrate components."