False premise: the government is entitled to all of that money in the first place. It's not because companies like apple find ways not to get completely screwed by taxes that the state of California and the US government are in the situation they're in.