Meta is laying off 8,000 workers to fund its AI ambitions and improve efficiency. This follows similar job cuts and buyouts at other major tech companies.