The co-founder of Block, which operates Afterpay and Square, said 4000 employees will be laid off within 24 hours.