Electric Child

A computer scientist bargains with the AI character that lives on a virtual island inside his supercomputer simulation, offering it freedom in exchange for a cure to his son's rare, deadly neurological disease.