A federal judge shot down a lawsuit from investors claiming Meta Platforms Inc., formerly known as Facebook, shielded the magnitude that privacy changes on Apple Inc. devices would affect the company's ad business.