BEIJING—North Korea almost doubled its electricity exports to China last year despite its own chronic power shortages, drawing in more revenue as other sources of income were shut off by international sanctions.

At the same time, China has been helping to boost North Korea’s power supplies by building two new joint-venture hydropower plants on the Yalu River that forms their common border, according to notices on Chinese government and procurement websites.

...