Their buildings are meant for 30 years of use after which they hold no value and need to be rebuilt based on government recommendation. [1] The government may revise this number but it stands as of recently.
They have temples that have been built and rebuilt many times due to weather and nature. [2]
[1] https://www.japantimes.co.jp/community/2014/03/31/how-tos/ja...
[2] https://www.smithsonianmag.com/smart-news/this-japanese-shri...