China’s energy crisis is beginning to hit people where they live, adding the risk of social instability to an economic slowdown and global supply chain disruptions.