The reply will depend on various factors:
Are the directors/partners the same or common? What is the nature of the business of ABC? Is it related to the products or services of XYZ? If XYZ owns the factory premises, then is there a rent agreement between both?
Are the directors/partners the same or common? What is the nature of the business of ABC? Is it related to the products or services of XYZ? If XYZ owns the factory premises, then is there a rent agreement between both?