All Safari extensions are bundled with apps and require users to manually enable them to function.
I tried installing the ChatGPT app, and noticed that there’s a "ChatGPT Search" extension that provides the functionality you’re looking for. However, enabling it involves a couple of steps: You can either go to Settings > Apps > Safari > Extensions > ChatGPT Search > Allow Extension, or you can tap the left side of the Safari address bar, select Manage Extensions, and enable ChatGPT Search. Hilariously, the extension didn't work when I had DuckDuckGo as my default search engine so I had to change it to Google when I was testing this.
Additionally, to allow the extension to redirect the page from Google, you must navigate to google.com, tap the left side of the Safari address bar, select ChatGPT Search, and grant it permission to access the page content.
Search hijacking just can't happen on Safari without the user going through multiple hoops.