Pershing Square Capital, a hedge fund run by activist investor William Ackman, has purchased a 2% stake in Kraft Foods as the US food group nears its deadline to up its offer for Cadbury.