The costs of essential computer parts like hard drives, RAM and graphics cards have skyrocketed as equipment makers focus on serving AI data centers.