While AI is helping coders produce code faster, it may not be producing better code, researchers warn. And that could cause problems down the road for them.