There’s a crucial difference though. Applets required you to download and install the JVM, and it was never part of web standards. Wasm is a w3c standard and built into browsers.
But I see the similarity in terms of compiling your software down to another (supposedly universal, we’ll see) intermediate instruction set.