The truth is, human beings have many imperfections. These imperfections are what makes us human and unique in our own way. However, to compare and set the bar of Artificial Intelligence at human intelligence seems somewhat irrational, as there is big potential for AI to further human intelligence.
Building a rational agent should be what we are aiming for in the near future; something that is intelligent and also rationalises better than us. However, by attempting to create something more intelligent than its creators, we should proceed with extreme caution as this will inevitably raise many dilemmas and ethical problems.