ICE used cars have similar problems, at least with the used EV I know mostly what I’m getting myself into. ICEs don’t degrade, they just break.
What do you mean by break? Everything at some point breaks. If you do your research to buy a quality and cared for vehicle in the first place, keep it maintained, 300k miles is of minimal cost and effort.