Tencent Holdings Ltd. logged its first-ever revenue decline after online advertising sales fell by a record, underscoring the extent to which China’s worsening economy is hurting its biggest ...