Meta is increasing its AI spending, but investors are pleased with the growth trajectory of advertising revenue.