After a career exposing the limits of human control, Kubrick’s final film ends with an invitation to physical intimacy.