Only 22% of developers are happy at work as AI reshapes their jobs.