In a wartime setting so do coastal artillery and AD units.
Let's simply say that a HIMARS launcher, its rocket and crew is a lot lower capital cost than an F35, and its hourly operating expense a tiny fraction of an F35s. Even six distributed launchers would cost a lot less.
Your arguments sound like the noise coming out of the air forces at the turn of the century about how artillery is obsolete because precision fast-air air delivered munitions will solve all problems - how's that working out in Ukraine?
I think its pure arrogance to dismiss a part of a layered, interlocking defence system so summarily. Especially when the services all have troubles keeping 50% of their respective fleets serviceable and ready. If nothing else, having shore-based antiship and air defence resources - fully integrated into a regional joint operations centre - helps reduce the need to cover certain static coastal areas with ships and engage more contacts simultaneously. It leaves much cheaper and persistent resources to cover specific choke points or vulnerable infrastructure while ships and air resources are left to make much more use of their range and agility.