How do flies do it? They don't have protective cages. Why doesn't a fly's wings break when it crashes? Why can't we replicate it mechanically?
Flapping at that scale is a very hard problem. Apart from the microscopic flagellum, evolution never managed to produce a rotational motor since it's super hard to build decoupled components with biological hardware (you need two stomachs, hearts, etc to keep decoupled parts alive). Emulating a fly's actual method may be interesting research, but motors are probably better in the long run than flapping, a complex and difficult hack to the problem of flight.