They aren't making any laptops or smartphones, but Russia has no problem demolishing Ukraine using weapons powered by domestic 160nm-350nm chips and vacuum tubes.
So 5nm should be more than enough for cutting edge defense applications.