If Stash is acquired or shuts down, your investments and your cash balance will be unaffected.  Your account with Apex Clearing will remain open and nothing will happen to your invested positions.