Distributed AI: Transforming Mobility and the Power Grid