WebAssembly is explicitly a new native plugin like API but cross browser, standardized , and with lessons learned for complexity and security.
You can see it skimming the WebAssembly high level design goals: https://webassembly.org/docs/high-level-goals/. Many of them directly address limitations of past web content plugin systems.