Take a look at this ChouChou Butterfly Robot from the the Tokyo Toy Show. Apparently it gets power from a battery in the lid via a wire.
(ChouChou Butterfly Robot)
Science fiction writers have long thought about mechanical insects and their possible uses - like the tiny scarab robot flying insect used for surveillance in a 1925 short story. More recently, in his 1980 novel Changeling, Roger Zelazny writes about an artificial butterfly in a mechanized park:
He patted a dusty synthetic tree and crossed the unliving turf past holograms of swaying flowers to seat himself upon an orange plastic bench... Artificial butterflies darted along invisible beams... Concealed aerosols released the odors of flowers at regular intervals.
One of the fake butterflies passed too near, faltered and fell to the ground.
Update 07-Jan-2023: See also the robot butterfly from I, Robot: The Movie, by Harlan Ellison, published by Asimov's Science Fiction in 1987.
Technovelgy (that's tech-novel-gee!)
is devoted to the creative science inventions and ideas of sf authors. Look for
the Invention Category that interests
you, the Glossary, the Invention
Timeline, or see what's New.
A System To Defeat AI Face Recognition
'...points and patches of light... sliding all over their faces in a programmed manner that had been designed to foil facial recognition systems.'