You question is an age-old one, which is still debated today. The movie, Artificial Intelligence, explores whether something created by man can have true intelligence and hence true free will. If there is true freedom and free will, then man can create something that is akin to human freedom. The next logical step is that humans can create life.
The movie also explores in subtle ways what human freedom is. Of course, as it is a good movie, no answers are given. But there is much to ponder.
In light of these points, the more philosophical question is what is the relationship between freedom and determinism. Are they necessarily opposed to one another or is there other ways to look at this relationship.