Meta expects infrastructure costs to be a "significant driver of expense growth next year."Jeff Bottari/Zuffa LLC via Getty Images; iStock; Rebecca Zisser/BIMeta's second-quarter revenue hit $39 billion, surpassing Wall Street expectations.The company says it's going to keep spending big this year to support AI research and development.Investors cheered despite the plans for increased spending.