USBHarpooning // BadUsb cable
I actually get to work with people who create these things.
Check out this article:
The trio acted on an idea from Kevin Mitnick, who saw it put in practice by someone using the Twitter handle MG. He told Bleeping Computer that he asked MG if he could build a cable for him to use in a keynote speech to demonstrate new attack methods, but nothing happened.