Meta has laid off more than 11,000 employees, reducing the size of its workforce by about 13%, in a bid to cut costs.