Profits do not "have to" take top priority for any company, this is a widely believed myth. Any company may choose to prioritise its mission over absolute profit as long as they are clear with their investors that that's what they're doing.
If it were true companies could never legally offer discounts, bundles, whatever. Long term thinking (eg acquire customers at less profit today) would be impossible if immediate profits always had to come first.
You think companies offer discounts, bundles or whatever out of altruism? The goal is to maximize profits with those things, although it's future profits, not immediate profit.
Why create the standard for-profit enterprise then? If profits isn't your topmost priority, then going for a non-profit, public benefit corporation or similar would be in your best interest and more beneficial.
You can still make profits with those, but there is a limit, hence people tend to go for the typical setup.