The Taiwanese company plans to work with partners to convert the factory into a plant making cloud computing hardware for AI applications.