“It essentially makes compliance to EU law optional for companies operating in the UK.”
As long as they do not export to the EU or do not sell half-products to firms that export to the EU.
Most exports from UK companies go to the EU, and will have to comply with EU regulations.
For those firms also exporting to non-EU countries, chances are it won’t be worth the hassle to make both EU-compliant and non-compliant products (as an example, look how the RoHS (https://en.wikipedia.org/wiki/Restriction_of_Hazardous_Subst...) drove the world to ban lead in soldering)