With 160 million people in 30 states under alert for extreme temperatures, the U.S. Department of Energy has declared an emergency as a heat wave bears down on a huge part of the nation's electrical grid.