In that example the Pixel has a 6x longer exposure. While Pixels can currently get better night photos currently, it's simply because the software lets them take minutes-long exposures instead of seconds-long. From a hardware point of view I don't think there's an advantage.
Both the Pixel and iPhone have AMAZING camera hardware and software that is better than any others in their domain. It’s just that the two are roughly equal except for the exposure time used.
Yeah, but I think the software differences required for 30 seconds vs 3 minutes is minimal. 30 seconds is still long enough to have to deal with all the issues that would come up with a 3 minute exposure.