Meta gave investors something important in its latest earnings: Early proof that its AI investments are starting to pay off.