Foreign investors should not be hurt by govt whims: Chidambaram