The State of New York does not have the power to compel NYSE to stop operating in New York either, irrespective of what laws NY passed, as that is with the SEC.
They also can’t enforce a law saying companies in New York must file 10Qs every month or something. Again, federal.
See: supremacy clause, interstate commerce. (The latter has been significantly expanded beyond its ordinary meaning for centuries; in here, the theory is that New Yorkers not being able to participate in a market ‘hurts’ other interstate market participants).