Rare bipartisan bill requires data centres to pay for infrastructure, but environmental groups say it falls short.