Dying human put into machine, with attendant complications? Robocop.
Intelligent consciousness in a machine, with attendant complications? Her.
Dying human's intelligent consciousness put into a machine, with attendant complications? Transcendence. Here's a trailer.
Comments