China has become a major customer for Russian oil and gas and a source of key technologies following sweeping Western sanctions on Moscow.