IIRC modern Apple devices integrate the memory into the whole SoC instead of making it separate on the board and replaceable. It's definitely not swappable like a DIMM or CAMM module would be. Can't find a photo of a decapped M4 chip to prove it, though...