Interstate commerce has been redefined to mean both way less and way more than the phrase might seem to imply. States can for example introduce rules on emissions when no cars are manufactured in that state.
We’re currently in the process of revoking California’s exception. However that’s a more complicated legal issue than the feds get to do whatever they want.