While I understand your point, that is a massive overstatement. Apple doesn't go into the parking lot business because it isn't in their corporate charter[0], which outlines the companies' objectives, structure, and operations. If Apple decided they could benefit by building parking lots then they very well might as long as they could justify the expense.
[0] https://www.investopedia.com/terms/c/corporatecharter.asp
There's a huge amount of wiggle room and discretion possible even within the obligations to share-holders.