Renesas is in talks to buy Maxim in what could be a $20 billion deal, according to people familiar with the matter.