It is ugly political theater. Demanding private entities act on behalf of the party or face punishment from the state, as the president might say, is semi-fascisty behavior.
Other than appealing to the anger and frustrations of economic illiterates, windfall taxes (a tax on allegedly excessive, or unfairly obtained, profits) make zero sense. They neither bring down the price of energy nor increase supply.