I had the exact same reaction.
But then I remembered it's not like companies get these tax breaks fair and square, through pure chance, or through an arm's-length evaluation of the benefits of encouraging/discouraging these activities for the country. They get them through influencing legislators via lobbying, campaign contributions, etc.
So: no, the blame very much boomerangs back on them. If they merely happened to be eligible for tax breaks they had no hand in, it would absolutely be unfair to blame them, but that's not how such multi-billion-dollar corporations generally work.