This implies that relatively cheap ways of borking a product (make one chip, disable some features) can be better for low-end consumers than more expensive methods (such as actually running two production lines), even though it seems less fair.
The poor consumer is agnostic to how much of the surplus is captured by the rich consumer vs. the producer. It's possible for that transaction to affect the poor consumer, e.g. if the producer gets it and spends it on R&D or the rich consumer gets it and spends it on some other public good, either of which could benefit the poor consumer. But either of them could also use it for something adverse to the poor consumer's interests, or just put the money in their pocket and walk away.
And just because the producer is extracting as much as possible from the rich consumer doesn't mean it isn't also extracting as much as possible from the poor consumer -- doing that is the definition of perfect price discrimination.
Except that P1 and P2 cannot be different unless what you get for them is different, or else the rich customers would also choose P1. So the poor who pay P1 pay less money but in exchange for an inferior product, which is not guaranteed to yield a net positive outcome.