FWIW you can install alternative browsers with alternative search engines in iOS as well. I regularly use a Tor browser, for instance. The only thing that's fixed is the Webkit engine, but that's immaterial to this discussion.
Now the web view runs in a separate process with a separate sandbox, so it can run the same JIT of Safari without security concerns (mainly, writable memory with execution permissions).