it's google designed, they said it hundreds of times already, HTC is just the manufacturer, just like Apple doesn't make anything themselves.
Now Google fanboys will say look why Pixel's price is like that, it even beats the sheep iPhone in camera section. Nice.
Looks as though Google's "Pixel XL" is the winner! I think GSM just didn't wanna name it to keep iPhone fans from getting mad!
Both are overpriced, but in your comparison you don't mention many things. like wider color gamut. or other stuff