Well, you can't exactly relocate a campus with 5,000-10,000 employees to another state 'on a whim', but yeah, your point still stands that it's a lot easier than moving a factory that builds physical things.
I recall IBM and other tech companies being called out for occasionally deliberately moving campuses to other states because this creates an excuse to sever certain employees who can't otherwise be lawfully fired.