A BNP analyst says Meta’s AI spending is necessary from a competitive standpoint — and will eventually pay off.