Polestar and Stellantis on Tuesday showed why software will determine an auto company's future survival.