Google on Friday announced its largest investment in any state in the country: $40 billion in Texas to build AI infrastructure, including data centers.