> legally required to prioritize quarterly profits over the long-term success of the company or to pay employees as little as possible, as is often mentioned.
Obviously this isn't a legal requirement, but pretty much every CEO would be out of a job if they choose country over company. Shareholders are generally not interested in furthering national geopolitics.