It's a Google Search feature [0]. Add "cache:" in front of the URL you search on Google to try and view the cached version.
Since most browsers nowadays implement an "omnibar" with Google as the default search provider, it appears seamless and performs the redirect.
[0] https://support.google.com/websearch/answer/2466433?hl=en