That stuff makes it more difficult to work on, but it doesn't make it impossible for Apple to sell replacement motherboards... nor does making a "thin desktop" require soldering on SSDs, M.2 SSDs are plenty thin for any small form factor desktop use case.
It is being optimized, it's just that the optimization is geared towards vacuuming money from brainwashed pockets instead of making a product that's worth the money.