A Machiavellian machine raises ethical questions about AI