Exponential Quantum Communication Advantage in Distributed Inference and Learning