South Carolina’s rural electric cooperatives are getting some $500 million in federal money to boost energy capacity from solar, batteries and nuclear power.