WALLDORF, Germany – Artificial intelligence has taken over much of what used to be Fabrizio Primerano’s software engineering job. It brainstorms with his colleagues, researches competitors and writes and tests code.But Primerano still has a job, at the German software giant SAP. It includes fewer routine tasks and more of what feels like managing and mentoring AI agents, or bots that can be programmed to act like personal assistants and, increasingly, human employees.“It’s freeing me up to do more of this creative work,” Primerano said recently.That is what executives of SAP, the largest software company in Europe by market value,...