The devices, also known as "switches," transform semiautomatic handguns into machine guns that can fire dozens of rounds in seconds.