The AR-15 despite the internet BS, is hard to get to fire full auto, either by accident or design. Hammer follow due to broken parts tends to be insufficient to ignite the primer, and often would happen out of battery.
My guess is what you experienced was a bump fire.