Click on the different departments of the factory to sell them. Your company account will increase by different amounts depending on what is clicked - some parts have valuable materials or machinery that fetch a higher price, others are just demolished and the metal girders are sold for scrap. Try to sell them in a logical order - you should keep the offices around for the longest so you have a place to manage the sales from.
I made this game for no real reason, I just wanted to make another game with a stupid premise.