Spatial is WebGL2 based.
UE has deprecated web platforms. Although there is Pixel Streaming available which you can host high level DX12 supported features through cloud (VM Instances).
For multiplayer connectivity you can make online subsystem with dedicated server where users can join without count restriction say even 10,000 players all depends on dedicated server configuration you maintain where as Spatil IO has no extensible features like this.