2001 Space Odyssey might be an interesting candidate here, just because of the way in which the book and film were more or less born together and diverged in their own separate ways, though the genesis of the whole thing was apparently in a short story by AC Clark that I know nothing about.