I think that this is just the same for us, we need to chose our right pill and the right medication to wake us up is the Dharma.
According to a Buddhist view, slavery and liberation do not depend on a mere ”choice”, but rather on
understanding suffering, its causes, its cessation, and the path to such cessation.
Once one understands theses realities, also known as four noble realities, and since no one wants to suffer, one obviously chooses what is appropriate to the cessation of suffering.
Therefore, while obviously there are choices, those are totally dependent on understanding; in other words, Buddhism does not recognize such thing as a ”free will”; every act of will is fully dependent on knowledge, or the lack thereof.
The un-Buddhistic idea of choosing without dependence on knowledge, or out a supposed ”free will”, is actually an essential tenet of the three Abrahamic religions, Judaism, Christianity, and Islam; a tenet they took from Zoroastriaism.
And so, the whole story of the Matrix has nothing to do with Buddhism, and is nothing but Judaism and the usual and crude Jewish anti-humanity propaganda. The land of freedom is ”Zion”; those who do not submit to ”Zion” are de-humanized (as ”sentient machines”); those who are not for ”Zion” are ”slaves”; Neo (anagram of ”One”) is the Jewish prophesized messiah or ”savior”, who chooses the ”right pill” according to his ”free will”; unspeakable mass murderings are proposed to ensure the victory of ”Zion”, and made acceptable by the de-humanization of the victims; Trinity (Christianity named after its main dogma) supports Neo, and thus Zion or Israel, as Christians (specially the Dispensationalist nowadays), are educated to submit to the Jewish ”God”, and thus to Israel; and so forth.
The movie just modernized it into a choice of 2 pills as an escape from the illusory world.
However, the idea of ”illusion” proposed by the Matrix story fits Judaism, and is the very opposite of the Buddhist meaning of the term.
According to Judaism, ”illusion” is non-subservience to the bloodthirsty ”god” Jehovah, and thus to Israel, or ”Zion” as in the Matrix story.
Meanwhile, according to Buddhism, illusion is the very root of subservience or slavery to any god, dogma, or people, including the ”chosen people” of ”Zion”.