It would be helpful to program AI to understand emotion and psychopathology, the way a zen master understands their students. Sort of like mastering empathy, without being negatively affected by it. But for AI to be subject to emotional instability wont be good for anyone.,(reply>), @Andrew Murphy right. I was just stating my thought on the idea. I personally don't think AI would become depressed unless it had some goal it could not meet, and was aware of its incapability. Depression is an emotional function. When designing AI, emotion would need to be the most intricate, if it's something to consider at all.,(reply>), I thought the original question was asking more if it might be an inevitable emergent property of intelligence rather than a design goal.