Finnish telecom network equipment maker Nokia reported a surprise quarterly loss on Thursday, citing hard competition in its core networks business.