If the toaster is capable of running third-party code (maybe users can download an app to burn the day's weather forecast onto their toast), today it may well be running a cut-down version of Android ...
The Bytecode Alliance aims to promote safe use—and reuse—of untrusted code at speed. The more interesting aspect is its use outside of the browser. For example, to have a sandboxed plugin ecosystem ...