GM CEO Mary Barra told CNBC the Chevy Bolt was years in the making and “an affordable solution” in the electric car market.