Enterprise sales, consulting, services. Mainframes still make up a large chunk of their revenue. Perhaps research/patents? They aren't really that consumer facing anymore, I guess that explains their ads on TV to keep their name out there.
The ads may be for their stock (indirectly) as much as for their products