Apple will stop handling ad sales on the news app starting next year.