As energy markets shrink, the same tactics that the Kremlin used to build Gazprom, the giant energy company, into a fearsome economic and political power that could restore Russian influence in the world are now backfiring, slashing both its profits and its influence.