Well, batteries have never had a long useful life, and since the batteries (Airpods + case) make up most of the mass, replacing the battery would have most of the environmental impact.
Could you say the same about everything that uses a battery? We could all just be using payphones.