The CNBC article states that "Musk’s SpaceX town in Texas warns residents they may lose right to ‘continue using’ their property" but the situation about zoning is a bit more nuanced than that.
The warning that they may lose the right to continue to use their property in the same manner is a warning required by state law. However, if you look at the proposal, they are proposing to change things so that they have more flexibility. The change from residential or commercial zoning to mixed use would mean they have more options, not less.
And since ex post facto laws are prohibited, the existing use is grandfathered in. But it does mean that if they tore down what they have now, they would have to follow the new rules since anything new would not be grandfathered in.
Unfortunately this is something that most cities in the United States can do.
Musk's SpaceX town in Texas warns residents they may lose right to 'continue using' their property
Starbase was officially formed earlier this month after Elon Musk's aerospace and defense contractor prevailed in a local election.