They don't really have anything to do with each other. (There was a project for a LLVM-based compiler for the .NET ecosystem, but as far as I know that never went anywhere)
Also, there was a plan to AOT compile .NET not only for WASM targets but also for console.