Five-year deal represents more than $3 billion of potential revenue for Polestar.