I believe the comparison is absolute production, not per person. Anything else would be odd. Considering China has 4x the capita of US it would mean that in absolute terms China is producing 8x the energy of the US. In reality it seems to be roughly 2x (although both sources are a bit outdated):
US 2023: 4.18 trillion kilowatt-hours (kWh) of electricity from utility-scale generators. Additionally, small-scale solar photovoltaic systems contributed around 73.62 billion kWh 1.
China 2021: 8.53 trillion kilowatt-hours (kWh) of electricity
--
But the staggering difference is how much of the electricity is attributed to the Industrial sector:
China: 70% (~6 trillion kWh)
US: 26% (~1 trillion kWh)
So overall China allocates 6x the electricity to production compared to US...