In the film The Animatrix, there is a short film called The Second Renaissance part I which goes into some detail about the rise of the machines and the end of man.
The relationship between humans and machines changes in the year 2090, when a domestic android is threatened by its owner. The android, named B1-66ER in what appears to be a reference to the character Bigger Thomas from the novel Native Son, then kills the owner, his pets, and a mechanic instructed to deactivate the robot. This murder is the first incident of an artificially intelligent machine killing a human. B1-66ER is arrested and put on trial, but justifies the crime as self-defense, stating that it "simply did not want to die".
The above would imply that first, many machines were sentient, and/or were free thinking machines. Second, because of the wording and actions of the android it could be said that this machine knew the difference from activation and deactivation and in this case specifically used the word's 'did not want to die'.
If B1-66ER had bound by the three laws of robotics:
A robot may not injure a human being or, through inaction, allow a human being to come to harm.
A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws
B1-66ER could have been said have had a defect in it's programming by failing to obey law 3 which directly conflicted with law 1. But as the the short film goes on to say:
B1-66ER loses the court case and is destroyed. Across the industrialized world, mass civil disturbances erupt when robots and their human sympathizers rise in protest. World leaders fear a robot rebellion, and governments across the planet initiate a major program to destroy all humanoid machines.
It would appears that most if any of the robots were not bound by the Three Laws of Robots.