The tie-up is a response to industrywide challenges that are pushing automakers to combine.