From record renewables investment to lower fuel imports, the EU’s energy shift is strengthening security and competitiveness