Meta’s revenue growth and upbeat guidance help offset AI spending worries