Usually the state gives tax breaks and the town gets double it's tax revenue. That's why the councils rush to vote yes, and $20-30M annually is a rounding error for the datacenter.