If someone wants to install an advert app on their fridge (I assume in exchange for money) then fair enough.
If I buy a tv I shouldn't just have to accept that, now or in the future, the manufacturer will sell advertising on it.
No, this does not need legislation. If you don't wants ads on your refrigerator, how about not buying a refrigerator with a screen built in, it's not necessary.