China is both unleashing and restricting market forces to secure its energy supplies