Obviously this would happen with the current administration in the USA.
The foundation should be moved to a country where the rule of law and neutrality are respected. Switzerland perhaps?
replies(2):
It seems like in the worst case all Wikipedia would lose is their tax-exempt status. So it wouldn't even be the end of the world.