San Francisco Frontiers - US stocks end higher as AI shares stabilize