Apple says its iPads and MacBooks will cost more as memory makers prioritise orders from artificial intelligence chipmakers.