I wouldn’t be surprised if google serves different html based on location+ISP and browser agent etc. I.e if you’re on a modern browser with a high-speed isp you might get a heavier page than if you’re on dialup or mobile in 3rd world countries.
Doing anything too complex there would be pretty surprising to me. if they are it seems they didn't do too good a job since the test is emulating a old phone that should probably get a simple/smaller page
There's a CSS media detection feature called `prefers-reduced-data` that may be graduating from a Chrome feature flag Soon™, although I'm not sure if Google is using that anywhere on their sites today.