According to the Miller court, the second amendment protects weapons which are "part of the ordinary military equipment or that its use could contribute to the common defense". (BTW, the M-16 and the M-4 use a .223)
The particular weapons would be decided by each state.
By your reasoning the national defense would be answered with electric tanks from Kalifornia. If they so chose
Rediculous!