US-based tech firm Snap to cut 10% workforce, 500 employees