Basically, microscale 3D printing the same way a popup book creates a three-dimensional shape.

The Harvard Monolithic Bee is a millimeter-scale flapping wing robotic insect produced using Printed Circuit MEMS (PC-MEMS) techniques. This video describes the manufacturing process, including pop-up book inspired assembly.

[via Ponoko]