All those 'military-style' firearms were designed and built by civilians. Mikhail Timofeyevich Kalashnikov worked for the State, but all of the American designed ones were designed by civilians.
/johnny
Let's see... the British were using state of the art flint lock muskets at the time.
So our founders agreed our stupid citizens could have the same weapons as solders! What were they thinking!
/s