Tom Hanks as a man who builds a robot to protect his dog is a sci-fi film so heartwarming you forget it's about the end of the world.