That is a fair point, but do keep in mind that the lower in the stack you come, the more options for sourcing you (generally) have.
Say, those fancy chips going into the ship's targeting radar may all be designed in a country or two, fabbed in Taiwan using Dutch equipment, whereas the steel you construct the hull with can come from anywhere - at my employer we mostly bought steel from Eastern Ukraine until a couple of years ago; after a brief hiccup we now get it from Turkey and Brazil, mostly - but China, South Korea, Germany or India, for instance, can supply it, too.
Say, those fancy chips going into the ship's targeting radar may all be designed in a country or two, fabbed in Taiwan using Dutch equipment, whereas the steel you construct the hull with can come from anywhere - at my employer we mostly bought steel from Eastern Ukraine until a couple of years ago; after a brief hiccup we now get it from Turkey and Brazil, mostly - but China, South Korea, Germany or India, for instance, can supply it, too.