Russia has only turned off the tap after Europe had already turned off every possible economical tap flowing in the direction of Russia, so in a sense, Europe did it all by itself. Sure, it's the right thing to do for Europe as no one want to help Russia sponsor the war on Ukraine... but that doesn't change the fact that Russia wouldn't just turn off the tap without Europe turning highly hostile to it and basically leaving Russia no option (it's costing much more to Russia than to Europe).
That pipeline runs through Ukraine to an old & dying oil field- Russia was fighting with Ukraine about transit costs and graft and wanted to turn on Nordstream II next. It wasn't about sticking it to the Germans for no reason.
At this point it is obvious that their occupation of Ukraine outweighs the $11 billion cost of the new pipeline. That's just the total cost by the way, not who paid what exactly.