Intelligent Orchestration of Distributed Large Foundation Model Inference at the Edge