If your beef is that the US govt shouldn't subsidize things via the tax code, then that's a separate issue. If your beef is that GE should pay nonzero taxes, then you should view it as "GE paid X% taxes, and then did things it did not want to do unsubsidized in order to earn back -X% taxes as a reward." In which case, GE did pay taxes. They just then took advantage of an opportunity to earn back those taxes in exchange for investing in green energy related things.
The only way to tax an international entity is to tax them on the things that actually exist in your country: Customers, employees, property, etc. But that's not corporate income tax anymore, it's sales tax, personal income tax, property tax, etc. The closest thing you can get to corporate income tax that actually works is VAT.
Money is meant to be spent, not hoarded.