The company’s chief executive Mark Zuckerberg saw his personal fortune fall by $31bn.