The earbud batteries are soldered in and epoxy seals the charging case, making battery or USB-C service destructive.
What to check before buying
Earbud batteries
iFixit reports that prying an earbud open is likely destructive and its internal batteries are soldered. The charging case is also epoxy-sealed around its battery and USB-C port.
Two versions
Standard and ANC AirPods 4 have different cases and model numbers. The ANC case adds wireless charging and a speaker; a replacement case must match the version.