You can replace the battery, it’s just that they want to save as much space as possible for smaller and smaller phones. Also having to take it in to replace the battery means you’ll probably think about buying a new phone instead which is what you’re implying.