Not because of that but knowing how a brain works could help with designing a brain.I'd say yes. You don't want to accidentally create an AI psychopath do you?
Is studying psychology necessary for artificial intelligence?
All of the things you are listing are just reactions to external or internal stimuli, that's what's easy to do in AI.Power below x% = get more power by eating drinking or sleeping.Others taking away your means of survival=make sure they stop.And so on.I don't think AI will ever become sentient.
As humans we don't really understand our own nature. We get hungry, thirsty, horny, sleepy, we're territorial, ideological, we need a sense of purpose/life direction, we feel fear, you can go on and on and on. There's more to us than simply "thinking" which is all AI is.