You don’t get profits unless your customers buy your products. And since Apple (prior to the world wide lockdown) has been making money, customers are buying. Customers buying = revenue and revenue = profits. So the guru Peter Drucker notes a company has to provide a service, if Apple provides this service successfully people will buy their products thus leading to profits.