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