Heterogeneous Low-Rank Approximation for Federated Fine-tuning of On-Device Foundation Models