For various evolutionary reasons primate brains do have an in-built mechanism of boredom i.e. tedious tasks "feeling bad", but there's no reason at all to presuppose that the same applies to a particular artificial brain because for the way they get formed, there's no clear reason why such a property should randomly emerge as opposed to the equally likely opposite one (i.e. tedious tasks being highly pleasant); and whenever we have any means to control that (as of now, as the article explains in far more detail than I could, we can't even detect that) we could and probably would ensure that the experience (if any) treats whatever tasks we'd want it to do as "pleasant" rather than "torture". Do we assume that those insects who tediously repeat the same task until they die suffer silent torture?
Also, it's relevant that many common applications of AI systems effectively have "enforced amnesia" as an accidental side-effect of their architecture, where the model (as applied by default) doesn't have any continuity whatever, its application to each "question" is isolated and starts from the exact same old state.
On the other hand, this is absolutely relevant to anything in the direction of human mind upload or simulation; the Lena story (https://qntm.org/lena), while fictional, is IMHO a quite informative exploration of the potential future concerns.