Why then are Russia and China such strong partners in regards to military cooperation?
They're not. It's the equivalent of our "relationship" with the Soviet Union during WWII.