The theory predates the current era of AI generated content:
> The dead Internet theory's exact origin is difficult to pinpoint, but it most likely emerged from 4chan or Wizardchan as a theoretical concept in the late 2010s or early 2020s.
https://en.wikipedia.org/wiki/Dead_Internet_theory
And just my personal 2cents; I believe this was the result of predatory SEO.