That’s not necessarily true. Their aircraft industry was pretty much modern and in good shape just a few years ago. USNS operates Ukrainian-built ship (although formerly Soviet Navy ship). Auto industry produced GM cars.
No matter how good a product may be, regular investment and innovation are needed, especially in competetive industries. Failure to do so leafs to rapid decline.