Hundreds of billions of dollars are flowing into AI despite limited profits. After the Democratic Party swept the US midterms, calls by some candidates for tighter data-centre rules helped trigger a tech sell-off that erased trillions from markets, exposing risks to jobs, pensions and global growth.