I don't understand why one would call the Oracle and the Architect machines. Machines are mechanical devices, robots, essentially. The machines in question are controlled by programs. These programs are the sentience of the machine world and have been since the beginning. This is a story of a machine/program life form and an organic/human life form, the fundamental difference between them, and their attempt at coexistence.
The architect represents the quintessence of machine life. Perfection. Perfect order. A harmony of mathematical precision, if you will. In trying to create an artificial world for humans the Architect was doomed to failure since human beings require choice/freewill, which cannot exist in a perfectly ordered system
As the Oracle states, the Architect exists to balance the equation and the Oracle serves to unbalance it, resulting in a Matrix acceptable to human life. The problem is choice. Freewill cannot exist in a perfectly ordered world. To me, the Architect/Oracle (Alpha and Omega) scenes are what elevate The Matrix to the top of the sci-fi list. Sheer brilliance.
To wax political for a moment, this is part of the reason why leftism, socialism and communism are failed systems and why leftist ideology has resulted in tyranny and death for millions. Leftism is based on creating Utopia - a perfect society - which of course, cannot exist. Humans require freedom, liberty, free choice - even when that choice results in less than perfect, and occasionally negative or even "evil" outcomes. But I digress.
Getting back to Architect and Oracle... This is not to say that the Architect (perfect order) is God and the Oracle (element of chaos) is the Devil, but one can see a relation. (By the way, I am an atheist and I am not trying to insert religion.) If mankind was perfect like "God" there would be no humanity, no freewill. We would all be identical making no free choices, always behaving in the best, perfect way - following programming. Only with the existence of the opposite end of the continuum, evil, Devil, chaos, as you will, can humans be humans. The Oracle is not evil, not a devil. I am only trying to draw a parallel by saying that mankind must have the free choice that only exists between order and chaos.
I will also add that the perfect machine/program life form has been corrupted by humanity. Programs have learned to embrace emotion and have developed freewill. The exiles...the Merovingian, et al. The only thing I really hated about The Matrix was the ridiculous "battery" explanation of why the machines needed humans. Far better would have been to say that the machines, having developed sentience, required (desired) human interaction for novelty - for our ability to provide "illogic" to their system. We would make a nice "playground" in which the machine life could explore, develop and grow. How boring to only interact with other machines/programs.
I will stop here, because I am not capturing what I truly mean to say and I don't have time to refine these thoughts. Wish I could have put my thoughts down better, but perhaps someone will have something to add.