DARPA has been busy for a number of years... these folk don't mess around, and although the applications are still far away from being fruitful, have no doubt that new technology is almost always developed, and used for military purposes.
Either way, it's quite neat to think of how an electronic can be implanted in a pupa with such precision so as to have it a the right place once the pupa becomes an imago.