chapter II, 10 of the Guide
The Rambam far from having a mechanistic view of the universe, actually sees the cosmos as a single organism. A sort of "Gaia hypothesis" stretched to include the heavens!
But that Gaia spirit of the higher spheres is not the same thing as God. Worship of the spirit that permeates everything is to the Rambam idolatry.
The Rambam and all rishonim understand the Monotheism of the Torah to mean God made the world, and he is not the world.
The fact that the belief system of the Torah is Monotheism is so trivial that it really should not have to be brought up except for people that claim it holds differently. That is the almost universal belief of the Jewish religious world, and they definitely worship the spirit that pervades everything. That is pure idolatry to the opinion of the Rambam