Steven Spielberg based his film on Kubrick 's plans . Kubrick reportedly held long telephone discussions with Steven Spielberg regarding the film , and , according to Spielberg , at one point stated that the subject matter was closer to Spielberg 's sensibilities than his . In 1999 , following Kubrick 's death , Spielberg took the various drafts and notes left by Kubrick and his writers and composed a new screenplay and , in association with what remained of Kubrick 's production unit , made the movie A.I. Artificial Intelligence , starring Haley Joel Osment , Jude Law , Frances O'Connor , and William Hurt .