From substations to railways and submarine cables, Europe is redesigning infrastructure to keep functioning even under attack.