Investors may have misjudged which firms would thrive under the new administration