I think it's unlikely that an experienced person would use AI to write a whole code, but to simplify or find a solution to a problem it's quite common. AI makes it much faster to resolve some errors.
They have experienced people or peers to correct them in a specific manner. AI is too erroneous for it to be used properly.