And capitalism is against public ownership of the means of production. Any country that does both, has an economy that is neither purely socialist nor capitalist. I personally would not want to live in a purely capitalist, nor a purely socialist state.
(Sidenote: State capitalism and market socialism are essentially the same thing)