Fiat Chrysler and the maker of Peugeot agreed to a $50 billion merger designed to drive investment in electronics and computing.