Tesla retreats from record highs after announcing share sale of up to $5 billion