Slack the messaging app was actually the pivot off of an unsuccessful MMORPG. They were writing it for their own internal use. Motivations were somewhat different than you are envisioning.
And the founder's (Stewart Butterfield) earlier company, Flickr, was also a pivot off another unsuccessful game. Man just wants to make games but gets too successful building billion dollar companies.