Second-quarter results for GM, Ford and Stellantis reflect a bumpy road as they juggle costly EV plans while managing profits on gasoline and hybrid models in an uncertain market environment.