The legislation makes it a state crime to possess the devices, which turn semi-automatic firearms into automatic ones.