The deal, unveiled on Tuesday, marks one of the biggest takeovers in Taiwan outside the semiconductor industry.