Block shares soared more than 16% on Friday after the fintech firm announced it would nearly halve its workforce as part of an overhaul to embed artificial intelligence tools across its operations.