Actually beliefs were generated by emotions,as intelligence.But emotions develop through intelligence and form new beliefs.
Do bags have emotions.For me viruses are even more efficient then bugs in some level but to say that bugs are more related to our way of life than viruses.What is origin of emotions,what are basic emotions,happiness, sadness-satisfaction,non-satisfaction.So do bags have some sort of satisfactory mechanism,yes,but that is not intelligence generated and related system.They dont need one they are like constant war machinery and they dont evolve to much they are efficient enough in various conditions and more evolve on outward then inward.They are like and of the road they only reliable on DNA mutations,they are pretty like plants,but they are not evolve from it,if there is not enough ingredients they spread branches.Life has many different roads.
So emotions are like some satisfactory mechanism.First there was just regulatory mechanism which was developed satisfactory mechanism.Regulatory mechanism regulate relations in body but satisfactory relations between body and environment.But satisfactory mechanism is relying on regulatory or derive from it.
Because of complex almost infinite possible relations between body and environment satisfactory mechanism evolve in intelligence.In bugs satisfactory and regulatory mechanism are almost the same thing,because there is no complex sensors or sense and no need for them.Actually they have satisfactory mechanism but it not evolve because is sufficient the way it is, just one life of bug is not that much expansive.
So satisfactory mechanism is allowing evolution of senses and sensors,evolution of sensors is more dependent on environment.From this simplifying approach is possible to understand how emotions create intelligence,and intelligence develop emotions.
But what is satisfactory mechanism,how is working and what is regulatory mechanism how is working are they just DNA coded.If yes what is DNA how create life.
Again i think AI is not possible until we dont know how is life beginning.And if we find out that AI would be needless.
But figuring out how neurons work that is another thing and is very useful,but is not leading to AI for sure,what i think