Your estimates are not even close. You can't honestly think that LPDDR5 at leading edge speeds is only $3 per 64 Gb (aka 8GB), right?
Your estimate is off my an order of magnitude. The memory Apple is using is closer to $40 for that increment, not $3.
And yes, they include a markup, because nobody is integrating hardware parts and selling them at cost. But if you think the fastest LPDDR5 around only costs $3 for 8GB, that's completely out of touch with reality.