Check out Fairphone. Maybe not as feature packed as the latest Pixel or iPhone, but definitely a step in the right direction.
Even Marques Brownlee [0] said he's going to rate gadgets' green/sustainability creds from now on, after reviewing the Fairphone.