Germany's capital has found an innovative way to fight water shortages during a time of rising temperatures and drought.