A correction was “probably inevitable” given the huge volume of capital pouring into “any company claiming to have an AI angle,” David Rosenberg, the president of Rosenberg Research, said in a morning note on Tuesday.

The former chief North American economist at Merrill Lynch said that “both sides of the AI trade are faltering at once.” The likes of Microsoft and Alphabet have sold off because they’re spending too much and eroding their cash flows, he continued, while their suppliers have sold off because “spending isn’t speeding up.”

“The overriding theme is that investors stopped rewarding the AI buildout and started asking when it pays back,” Rosenberg added.