Tesla settles 1,000-day Sweden strike by buying out workers