Tech Company posts second consecutive quarter of declining revenue and warns of rising costs, accelerating losses at metaverse unit