AI's productivity gains face a costly problem with workplace rework.