These mad scientists stabbed beetles with bunch of electrodes to control its crawl:
https://www.sciencenews.org/blog/science-ticker/these-cyborg-beetles-walk-walk [sciencenews.org]
"Hirotaka Sato and his colleagues at Nanyang Technological University in Singapore inserted electrodes into flower beetles (Mecynorrhina torquata) to stimulate specific leg muscle groups. By altering the order of electrical zap sequences, the team was able to control a beetleās gait... "
"Cyborg beetles and other insects provide a more energy efficient and easier-to-assemble alternative to plain old robots and double as a means to study insect locomotion, the researchers argue."
Hm...