Ice makers are the Achilles heel of modern refrigerators, and if you read fridge reviews, they are the subject of a large percentage of the negative comments.
It used to be that most ice makers were modular units that were mounted inside the main section of the freezer, and if they went bad, you could easily replace them. I did that on a ten-year-old fridge about ten years ago.
The next new fridge we bought had the ice maker built into the door, presumably to leave more space in the freezer. But in addition to not being able to store much ice, that meant it was completely unique to that model, and if it went south you were screwed. Fortunately, that didn’t happen while we owned it.
But that concern made me look closely at the ice makers when I was buying a new fridge five years ago. Most of the units I looked at did not have easily replaceable modular ice makers, but the one I bought did. It’s still going strong (knock wood).