Facebook owner Meta saw net income and revenues top expectations on Wednesday as the company said it would expand investments into artificial intelligence, drawing nervousness from investors.