Edit: I was a bit lazy in my writing and what I really meant were things like inexpensive proprietary power management ICs, NVMe storage modules, and/or T2 security chips, USB controller ICs, etc.
Edit: I was a bit lazy in my writing and what I really meant were things like inexpensive proprietary power management ICs, NVMe storage modules, and/or T2 security chips, USB controller ICs, etc.
1. The capacitor is part of a chip. There is no practical way for you to figure out that the capacitor has failed. You will just know at best that the chip is not working right. And even if you could somehow find out that a capacitor on the chip failed there is no practical way you could replace it.
In short, if a capacitor on a chip fails you will need a new chip.
2. It is a discrete capacitor. Probably surface mount soldered onto a PCB, possibly thru-hole soldered onto a PCB, or maybe some other kind of package with leads soldered across something else like the terminals of a switch or something like that.
In this case it is a commodity part. You go to DigiKey or similar, find a capacitor that with the same capacitance, voltage rating, ESR, temperature range, etc,, which will be available from many manufacturers, and DigiKey will be happy to sell it to you for a few cents (plus $7 shipping).
It would be nice if the device maker had to tell you the electrical parameters you need to match when buying a replacements capacitor, but it would be overkill to make all the device makers actually sell such readily available commodity parts.
https://www.ifixit.com/News/62674/m2-macbook-air-teardown-ap...
https://valkyrie.cdn.ifixit.com/media/2022/07/18205803/MBA_M...
But if you go to an Apple-certified shop they'll just swap out the entire board and call it a day. In Apple's mind those are not replaceable. In their repair system Apple treats a MacBook as a collection of maybe 20 parts and a bunch of screws.
My friend and I both sent our MacBooks into Louis Rossmann the same week. He spilled a cup of water on his, mine just killed itself for no reason. The repairs were expensive but they managed to not lose any data, and it still saved us many hundreds of dollars each vs. doing an Apple-authorized repair.