There is definitely an argument to be made that even APKWS is too expensive due to the cost of flying a F16 per hour, but it’s not at the level of a few million dollar missile.
Obviously the US was in no way prepared for the Iranian response, but it’s not like zero development has happened in the last few years. It’s far too slow, but it’s deployed and in active use in combat. Hopefully this will be a wake up call that military procurement and domestic manufacturing needs to be wholesale reconfigured with breakneck speed. Doubtful though without much more pain felt directly by American citizens.
These weapons have been around since the early 2010s, they aren't new, and have been deployed in the Middle East for many years. They were literally designed for killing swarms of Shahed-style drones.
Or, that is their advertised capabilities. Countries that buy them usually complain that they don't work as well on practice.
You can destroy 16 drones every 2 minutes. If you get attacked by 50 drones, you'll get 16-20 of them. Did that help you?
I mean, they are helpful (if they work as well as the marketing material says). Just not transformative or sufficient.