Apparatus for passing chains or the like under vessels or objects