The architects of such feeds had centuries of "mind hacking" that go all the way back to Pavlonian training and gambling psychology. We've known for centuries that the human mind wasn't that hard to appease. Now the tech caught up with the last constraint that kept these ideas at bay: latency.
It's very clear they understood the power and leaned into it by the time of Cambridge Analytica, though. Likely much earlier than that, but that's the objectively clear point to the public. So we're at least 10 years into choosing not to put the corrupting genie back in the lamp.