Could AI improve the way a government runs its nation?

Artificial intelligence can already beat us at chess, recognize faces and strike up small talk, but can it help improve how governments run our nations?