These ridiculous and useless weapon systems are the product of excessive linkage between military and defence industry - "We'll invent a threat, so that you can invent the solution".
It's called the Military Industrial Complex, brought to the public's attention by Eisenhower and existing since the days of Samuel Colt.