Companies very often pivot at some point during their existence. Many start-ups even pivot to a completely different type of company (Groupon was famously a cause-rallying site in its inception.)
Where the transition gets hard for companies when they change their basic business model, is possibly giving up built-up market share and clientele. How a company weathers these changes is largely down to management and dedication to a cause.