The exemptions provided by Sections 17-21-1 and 17-21-3 if granted by the board of supervisors or the governing authorities of any municipality may be withdrawn or terminated as to any subsequent year and any exemptions granted pursuant to Sections 17-21-1 and 17-21-3 on real property which is subsequently leased or sold by the nonprofit industrial foundation, corporation or like association shall be terminated and such real property shall then be assessed for ad valorem taxation as other taxable property. The terms and provisions of Sections 17-21-1 and 17-21-3 shall not apply to any real estate having a building located thereon.