Since on the pictures the AI uses as reference for realistic drawings the hands are so small and in varying positions, the AI can't properly manage how many fingers the human hand actually has, or, for that matter, where those fingers even are on the hand, thus resulting in this phenomenon. Plus, some people actually have a sixth finger in the middle of their hands, so it's possible the AI is also using pictures of people like that for reference.