Haley Joel Osment plays David, a robot capable of love, in the 2001 movie "A.I."