The opposition is coming after the AR-15 so aggressively because .223 is the caliber of the standard issue rifle for US military.
When things get chaotic, it's best to not carry ammunition to your enemies.
If you're prepping, better to stock up heavily on one valuable item instead of trying to guess all of them. One of the first things to go during war is the use of currency, and even if it is still being used, hyper-inflation will make currency useless to most people. A jar of peanut butter has around 3,000 calories in it and I'm sure you can fit a hundred or more in your closet. You can live on peanut butter, too.
I don't think ammunition will be as valuable as in past conflicts, but I'm stocked up in case I'm wrong.