Meta is increasing spending faster than revenue, and some on Wall Street aren’t sure that the company’s investments will pay off.