S&P 500, Dow turn lower as Apple, Microsoft drop