This is a reducto ad absurdum example of how the US government is paying out the nose to keep a bunch of manufacturing and development work on-shore in the USA. Yeah, sure, it's a trash can, there's no reason it should cost $50k. We're all agreed that's an absurd amount to pay for a trash container. The government isn't just paying for the trash can. They're paying for people to design, tool, and maintain that design…
Edit: Since the article mentions circuits and such: The alternative to paying through the nose for spares for obsolete systems and parts is a new development. In which case price, and lead times, increase even more. And now contractors are obviously abusong that situation, but parts of those high prices can be explained by the fact that a lot of current, top notch, military hear is running on old, commercially sometimes even obsolete tech.