The stock market took a dive on Wednesday thanks mostly to Apple (AAPL) and a broader decline in bank shares.