The artificial intelligence-powered guns can track targets to enhance accuracy when firing tear gas, stun grenades and sponge-tipped bullets.