AP provides tech companies with election updates via a proprietary API that tech companies can plug into with a subscription to answer voice search queries, among others.