Renesas Electronics Corp. agreed to buy U.S. chipmaker Intersil Corp. for $3.2 billion, seeking to accelerate its efforts to sell more automotive components.