Europe has a historical lead in the green transition, but other parts of the world are investing massively, and the EU risks falling behind.