Countries with the highest renewable energy investments also have the most expensive electricity due to costly backup power requirements for solar and wind.