Godot 4's HTML5 exports currently cannot run on macOS and iOS due to upstream bugs with SharedArrayBuffer and WebGL 2.0.
Sorry. I'll see if I can figure out if anyone has found a solution, but the current workaround is to use Chrome or Firefox instead of safari.
Note: I'm not super knowledge on export stuff yet, so I could be wrong. I'll research today.