Meta revenue soars as it pivots to AI and announces dividends for investors