Sure, but if the components do work, people might very well die. Sometimes a lot of people. Probably different people.
Military (and aviation) want uniform, reliable parts and to be able to do post mortem investigation of failures where they lessons learned can be applied to the installed base and future production.
You can't do that very well when you don't even know who made your ICs to ask them what happened during production or to improve their processes.
I knew Furbies had the same killing brains of missiles! It's in the eyes.
You are thinking of Home Alone 3 which is a cynical money grabbing shadow of the original two films.
Personally small soldiers is my favorite missile chip in toy genre movie.
TBF, that's also true if they do work.
If you can depend on depend on your machine gun to jam if you fire it for more than 3 seconds, then you just don't fire it for that long. But if you have no way of knowing how many rounds you'll get out of it (if any) before it jams, you'll just stop using the thing.
Further, a lot of the procurement rules devolve down to "is this supply chain a strategic weak point?" We don't buy our HMMWV tires from Russia not out of quality concerns, but to deny them that weapon. So the testing is done to verify provenance, rather than quality.
If the components don't work in a military situation, people might very well die. Sometimes a lot of people.
A counterfeit microprocessor in a dollar store Furby clone probably isn't going to kill anyone if it fails. The same microprocessor in a surface-to-air missile? Well...