Adaptive Concept Bottleneck for Foundation Models Under Distribution Shifts