What the sinking of the Titanic reveals about AI