As workers around the world worry about being replaced by artificial intelligence, two recent studies have shown how humanity’s competition and collaboration with bots in the office are evolving.