I don't have first-hand experience with the Pixel 8 photo quality, but if it's at all competitive with equivalent iPhone photography, it takes dang good pictures. The crappiest DSLRs with three lenses are going to be nowhere near $200, new or even used. That's a reasonable price.
Regarding the price for repair parts... manufacturers price repair parts partly based on the anticipated frequency of their failure. It costs them a lot to warehouse the parts until the product is officially EOL and they're off the hook for providing the parts. I remember when Apple used to sell re-badged HP inkjet printers and stored all the repair parts. Things that would NEVER likely break, like the internal printer frame had to be available as a repair part, but it was extremely expensive. Far more than just buying another printer. I anticipate some of these Pixel 8 parts are priced the same way. Camera likely will need to be replaced a lot because of impacts to the lenses, so they've priced it reasonably at $200, I think.