Legit concern.. this happens often actually. The legal term is "eminent domain". The power is derived from the 5th Amendment of the United States Constitution. ...nor shall private property be taken for public use, without just compensation.
So if that does happen, you'll be paid for the value of the asset by the government.