This section shall not apply to any expenditure for the acquisition or improvement of land, or for the acquisition or improvement of property to be used in connection with the research or experimentation and of a character which is subject to the allowance under section
167 (relating to allowance for depreciation, etc.) or section
611 (relating to allowance for depletion); but for purposes of this section allowances under section
167, and allowances under section
611, shall be considered as expenditures.