Artificial intelligence (AI) is no longer a plot point in futuristic sci-fi novels and films. In many aspects of our lives, machines are increasingly performing tasks previously handled by human intelligence.