Tesla up 17% after Panasonic posts first quarterly profit at battery business