Departures of large teams and increased spending on retention could dent growth and profit margins, analysts said.