After a certain scale the biggest problem in CAD is not the actual 2D or 3D drawing, its file and data management. Most of the CAD industry is actually more focused on this as a problem to solve, businesses will spend fortunes on it. In the product design world its called PLM (Product lifecycle management) and in the Architectural wold its called BIM (Building information management). You can think of it as being similar to a combination of software version control, documentation systems, bug databases, specification systems, and even continuous integration systems. Almost every CAD package has its own PLM/BIM system and some are very powerful.
The move to browser-based CAD enables you to build PLM and BIM systems that aren't file based, but are backed by a database and have versioning inherently built in. CAD parts or drawings are no longer discreet files but objects in a DB.
My background is in product design and SolidWorks (dating from the 90's) and Creo (can be traced back to the 80s as Pro/E). Both of these feel very dated now. The new kids on the block are AutoDesk Fusion 360 (cloud-based, using a DB, but with a native front end) and OnShape (Fully Cloud/Browser based, original Solidworks team, https://www.onshape.com/). Take a look at OnShape if you want to be amazed at what is possible in the browser! The 3D rendering is all done client side but with a live WebSocket connection to their servers for the Parametric Kernal and Constraint Solving, it's very clever.
I have been involved in STEP [1] for quite a long time, there has always been the expectation that it could be implemented as a database. I'm currently on the fringes of the work to map the PLM standards onto RDF/OWL/SKOS.
That said, there is obvious scope for vendor lock-in when designs are cloud hosted.
Vendor lock-in is just the cost of doing business.
AutoCAD, which is architectural CAD, has been in flash (AutoCAD WS) for more than 6 years so if flash can handle it, WebAssembly can handle it.
OnShape is mechanical CAD has been pretty successful in pure JavaScript in the browser: https://onshape.com
SolidWorks is coming to the browser soon I understand as well.
AutoCAD Electrical is huge for industrial controls work - it's hard to say, IMO, whether architectural or electrical AutoCAD is more dominant in its field. Other products are used for PCB design, but for any discrete wires in machines, buildings, etc. it's almost universally AutoCAD. Solidworks doesn't even have a product. And Autocad Electrical is ideal for low-powered browser work, because it's just 2D line drawings with an occasional component wireframe.
They also produce Autocad Inventor (and Fusion 360), which are mechanical CAD packages. Inventor is definitely a contender with Solidworks, CATIA, Pro-E, and other mechanical CAD.
A car's sheet metal may have 80% probability to be designed in CATIA, but the press that forms it has (pulling numbers out of a hat) a 20% chance to be modeled in AutoCAD Inventor, a 90% chance to be wired to an AutoCAD Electrical schematic, and a 95% chance to be located in a building blueprinted with AutoCAD Architectural.
Browser-based apps tend to disappear or change, and we need to reference/alter drawings and assemblies on decadal timescales.
Maybe it's different today or in certain industries.