If we're talking about general artificial intelligence, then the only intentional notion is to learn from the world. What happens after that is completey shaped by its environment / input. For ex see Microsoft's chat AI that quickly become a racist bigot after reading Twitter https://www.theverge.com/2016/3/24/11297050/tay-microsoft-ch...