As someone on the autism spectrum, there are AI-y tasks that I would enjoy as a job but which would to most people feel as, at best, unbearably tedious. If you view "AI programmed to enjoy doing boring computer tasks" as vaguely adjacent to an autistic person, then I would say that it's perfectly moral to create such an entity, as long as we treat it well by its own standards. I'm sure there are situations that could get me to second-guess that rule of thumb, but the golden rule feels adequate.