In whole, I describe a drink or a relationship.
Remove my front, and I become an obsolete part of a device.
Remove my end, and I become another obsolete part of the same device.
Remove my middle, and I am an endangered species.
Remove my middle again, and I am something that mankind is trying to make obsolete.
What am I?