The world’s largest companies have pledged hundreds of billions of dollars to match growing demand for AI.