In a surprise reshuffling of the market for advanced semiconductors, Infineon Technologies said that it has agreed to buy Cree's Wolfspeed division.