World War II is a working example of your hypothetical. The country (USA*) had to ration food, shoes, metal, paper, and rubber - so therefore even tires - to name a few. This all happened under capitalism. The country complied and to even make up for the loss of product women joined the workforce - i.e. Rosie the Riveter. I’m not trying to get into an argument but I wanted to point out your example already came and went and the country responded as it would under either economic system.