The Matrix Trilogy,
Everyone is a program.over 2 layers
Neo is AI, going through its 6th improvement Love
Smith is virus cloned Neo to enter layer2 to destroy the AI.
The virus failed and the AI rebooted and improved
Finally makes sense lol Blue pill keeps the AI in current version, Red Pill activates AI update
Humans as batteries was stupid because it was meant to be,there are no humans only programs representing humans. Agent Smith was the One that could have destroyed the AI.
The Oracle created Smith, not to destroy the AI(Neo) but to help Neo reboot after is successfully upgraded its latest emotion.Love Smith was unaware of the reboot process till the end.