Microsoft and other titans lifted the major indexes for the week, masking declines for small caps and many sectors as yields jump.