Sounds less like “evil capitalists” destroyed Yugoslavia & more like industry there had to compete on the world market. It might just be that freer markets are more efficient…
Also sounds like part of the country started using the centralized state as a bludgeon to extract & redistribute wealth from more productive parts of the domestic market…