The question isn’t just about who owns the copyright, but also about who has the right to authorize AP to use it. AP asked Ellen for permission, but she may not own the copyright at all, and if she does, legally she likely is a co-author, not the sole author. Either way, legally it is unlikely that Ellen had the full right to give AP permission to use the photo.