If the second case is true, we can clearly mandate this by law, but then we must explain the reasons behind it, and we must also search for alternative ways of enforcing such reasons.
IMO the modern devices are way too complex to service on your own for most of the people. And those who might be able to technically do that often times are not interested into actually doing it. Also, the tradeoff that such a serviceability would imply might be not interesting (e.g. bulkier device, more complex waterproofing, less sturdy chassis, ...).
Again, it's my personal opinion, based on personal experience, but since we do have alternatives (e.g. the fair phone) and since these devices are not that widespread, I'm afraid my opinion is more common that you'd think.