Sorry, but there is no state in which a citizen can go out and buy a newly made M4 rifle like many troops carry. None.
I know that, it's a federal deal, specifically a last minute amendment to the Firearm Owners Protection Act, of the mid 80's. IIRC 1986. And it's in blatant violation of the second amendment, The previous "tax based" restrictions (National Firearms Act) were too of course, but at least it wasn't a complete ban. Supreme Court has never ruled on either law. Never.
However you said:
Try buying a rifle like the troops carry (or even a defanged one that shoots one shot per trigger pull.)
I was responding to the part in bold. You can buy a semi-auto only clone of the M-4, a similar version in 7.62x51, or a SA clone of the M16A4. Complete with bayonet lug and flash hider. Just not the burst fire capability.
That's not that much of a loss, sustained rate of fire with burst is about 90 rpm, in semi-auto, it's 45 rpm. (M-16/M-4).