That's not clear. Perhaps the savings made by having connected fridges over the year has offset the hacking event waste, so overall it could still be worth it. Now they need to apply security patches, and possibly only use the connection for monitoring (read-only) and have a kind of "2FA" / physical presence required when sending commands from the web
Not having to pay some token fine multiplied by however many times your employees didn't perfectly pencil whip the temp checks in the 3yr record retention period when you sell some bad fish and get audited as part of the investigation into that.
They don't need to be on internet. They just need to be available remotely. Simple VPN would've solved the issue entirely (...well, up to the moment when they won't update that, but updating VPN is far cheaper than commercial refrigerator controller I'd imagine)