Companies like OpenAI, Amazon and Meta have supersized their spending on artificial intelligence, with no signs of slowing down.