Tech workers are increasingly worried that the artificial intelligence they are building will replace them. But some are optimistic that it is just one more tool to work with.