The monetization of attention was a side effect of TV, not the primary purpose.
TikTok and other current efforts have that monetization as their primary purpose.
The profit-first-everything-else-never approach typical in late-stage capitalism was not inevitable. It is very possible to see the specific turns that led us to this point, and they did not have to happen.