Despite similar challenges, the two computer makers are using different strategies to battle supply constraints, including passing costs on to customers.