In the Cash Flow Statement, the cash flow in and out of investments, whether in shares of other companies or in capital assets, is recorded.
The gains or losses from investment activities, including but not limited to shares of other companies (non-controlling interest) and the gains or losses experienced with subsidiaries, as well as negative cash flow or positive cash flow into or out of capital investment projects such as production infrastructure, are recorded in a portion of the Cash Flow Statement called Investing Activities.
It can be useful for a cash flow analysis to separate the various sources and destinations of cash flow: a company with an overall negative cash flow may simultaneously have a positive cash flow from operations and a negative cash flow from investing activities, merely because they are investing heavily in capital projects for a few years.
Investments in PPE ( property, plant, equipment) and other capital expenditures (capex) can be found here.