The spat between Ottawa and Stellantis over funding for its Windsor, Ont., battery-cell plant illustrates the bind ensnaring politicians: They must weigh limited financial resources and public backlash over billions of dollars doled out to automakers against securing a future for a sector shifting toward electrification.