The merger talks between Japan’s second- and third-largest automakers highlight the intense upheaval within the world’s auto industry.