The EU has spent nearly $500 million on technology to fight climate change—with little to show for it