Former T-Mobile CEO John Legere says McDonald’s is investing billions to upgrade its franchises, signaling a potential new phase of growth and brand renewal for the fast-food chain.