(Bloomberg) — A banner year for US stocks is ending poorly as a retreat in technology stocks extended a stretch…