AI software stocks rally 5% as Figma, Shopify lead sector rebound