Companies are merging or selling business units to streamline operations and raise cash amid tariff threats