“Capital Expenditure” typically means additions to PP&E. I guess you could also include Intangible Assets if you know what they are and know their relevance to the core business.
But I wouldn’t personally include ‘Investments’ (As in, Financial Investments) under Capital Expenditure. Then again, I also exclude income / dividends from Financial Investments from my calculations of Value.
Non-financial Long Term Investments could again be added or removed from Capex based on their relevance to the core business. But as a thumb rule, you can keep them with Capex.
Why would you want to remove that expenditure from Capex? That is also an Expenditure of a Capital nature. Repairing Machinery and Tools directly impact the core business / produce Revenue for the core business.