Tesla ends Sweden's 1,021-day strike by buying out union members