Short term, you might be right.
However... higher oil prices also increase energy prices across the board, and China's energy sector is dominant in renewables. I think they're more than happy to have the competing energy sources become even more expensive.