Is it foreign capital for listed companies to build factories?

Don't belong. The factory buildings built by listed companies are for internal use, belonging to fixed assets investment, not foreign investment. Foreign investment refers to the investment made by an enterprise to other economic entities other than the enterprise by purchasing securities such as stocks and bonds or by cash, physical assets and intangible assets.