Microchip Technology said Monday that it will close its factory in Tempe, Arizona, and lay off 500 next year amid depressed sales. Microchip said the closure will eventually save it $90 million a year. The same chips it makes in Arizona can also be made at its factory in Gresham and at another in Colorado, according to the company.