Big tech is investing millions in data centers and saving a quick tax buck while doing it—leaving some states collecting revenue loss