Tesla gives up all its post-election gains as tech shares hit