Meta to lay off 10% of company, Microsoft offers buyouts