Apple Inc. has eliminated dozens of sales roles in a bid to streamline the way it offers products to businesses, schools and governments, marking a rare layoff for the iPhone maker. Management notified the affected workers over the past couple of weeks, according to people familiar with the matter.