Cadillac plans to go all-electric by 2030 but will ensure that GM and its dealers are profitable along the way.