Tesla locks in stock surge with $2B offering at $767 per share