Fairchild Semiconductor on Western Avenue in South Portland is being sold to an Arizona company.