Shazam, which was introduced in 2002 and eventually became both a must-have smartphone app and a dogged survivor of social-TV attrition, remains unprofitable as it invests, according to executives, in its long-term success. Under CEO Rich Riley, the former Yahoo exec who took the reins last April, it's also trying to get on the path to going public.