Black hole rips apart doomed star in ‘rare’ event