To reduce accidental deaths during civil disturbances, firearms manufacturer FN Herstal has developed a gun that not only fires less-than-lethal elastomer projectiles, it has a digital smart sight that can recognize human heads and refuse to fire at them.
I don’t think this is technically a firearm, it looks more like a particularly high-tech Nerf gun