WWDC may give investors a clearer view of whether Apple can turn AI into a stronger growth story.