The Qatar Investment Authority (QIA) has agreed to invest $2.38 billion in German power producer RWE AG to help it buy US firm Con Edison’s Clean Energy Businesses subsidiary for $6.8 billion.