With US indexes near records but AI-spending and policy fears rising, quality-factor investing offers a way to keep stoc...