Examples of GDP component variables

Examples of C, I, G, & NX: If you spend money to renovate your hotel so that occupancy rates increase, that is private investment, but if you buy shares in a consortium to do the same thing it is saving. The former is included when measuring GDP (in I), the latter is not. However, when the consortium conducted its own expenditure on renovation, that expenditure would be included in GDP.
If the hotel is your private home your renovation spending would be measured as Consumption, but if a government agency is converting the hotel into an office for civil servants the renovation spending would be measured as part of public sector spending (G).
If the renovation involves the purchase of a chandelier from abroad, that spending would also be counted as an increase in imports, so that NX would fall and the total GDP is unaffected by the purchase. (This highlights the fact that GDP is intended to measure domestic production rather than total consumption or spending. Spending is really a convenient means of estimating production.)
If you are paid to manufacture the chandelier to hang in a foreign hotel the situation would be reversed, and the payment you receive would be counted in NX (positively, as an export). Again, we see that GDP is attempting to measure production through the means of expenditure; if the chandelier you produced had been bought domestically it would have been included in the GDP figures (in C or I) when purchased by a consumer or a business, but because it was exported it is necessary to 'correct' the amount consumed domestically to give the amount produced domestically. (As in Gross Domestic Product.)