GM CEO Mary Barra said consumers should expect the phase out of CarPlay and Android Auto in the next few years.