I'm not sure what they cost to Apple (can they use standard parts?), but I'm also pretty sure other laptops don't have up to 400 GBps memory bandwidth like Apple's Max laptop lineup.
So there's something they're doing pretty differently.
That said 8->16 GB should be more like $50, not $200.