I think if The Matrix was actually intended to be an analogy about capitalism its directors would have certainly bloviated about it in their heavy-handed philosophy regurgitation in the sequels.
I think it has more in common with gnosticism and eastern mysticism but rendered as sci fi than fantasy as such. For example:
>through god consciousness you are liberated
And likewise through class consciousness you are liberated
are you liberated anon