A record-shattering heatwave blamed on climate change has killed over 1,000 people in France and crippled infrastructure across Europe, from power grids to rivers.