The whole machinery and apparatus employed in carrying on a
   trade or mechanical business; also, sometimes including real estate,
   and whatever represents investment of capital in the means of carrying
   on a business, but not including material worked upon or finished
   products; as, the plant of a foundry, a mill, or a railroad.