Honda, Japan's second-largest carmaker, and Nissan, the third-largest, had announced last year that they were in talks to merge, which would have marked a significant shift in an industry.