AI-assisted coding has emerged as one of the most widely adopted uses of generative AI, drawing billions of dollars from investors as businesses seek to speed up software development and improve workforce productivity.