A fridge has a simple job to do.
Keep the inside cool.
The challenge of building a fridge is building a fridge that can run continously for years, if not decades without fail.
We have mostly solved that problem, it doesn't need any smart logic or any fancy operating system to work.