The surge comes following announced investments in AI after company laid off thousands earlier this month.