A growing number of tech teams are using AI tools to write code. They must take care, as the technology is far from foolproof ...