Apple increased prices on MacBook and iPad devices Thursday, saying that AI data center investments have triggered a chain reaction that forced its hand.