Bicentennial Man (1999)

An android endeavors to become human as he gradually acquires emotions.