A big reason that stuff isn't replaceable anymore is because consumers wants some of the benefits that come w/ non-replaceable parts.
For example, it's nice that I can drop my iPhone in water w/o worrying (too much) about destroying it. I spent ~$1500 on an iPhone 12 Pro in November & dropped it in a lake in December. Part of the reason it's (more) waterproof if because it's not covered w/ ports/hatches/openings that would allow me swap out the battery/RAM/SSD/something. If I had to choose between having a fully customizable phone & one that doesn't die when it gets wet, I think I'd rather have one that resists water.
Just one person's opinion.