From oil to batteries, Chinese energy companies flag first-half windfalls