The company behind other companies’ customer service is rebuilding around AI. Its next test is whether it can automate the work and still be worth hiring.