U.S. stocks dropped sharply, hit by worries over rising bond yields, new competition in the health-care sector and rising oil production.

The declines were broad-based, hitting shares of everything from energy to financial companies and spooking investors, who have pushed U.S. stocks to a repeated string of records since the 2016 election.

The...