The price of phones, laptops and game consoles are rising thanks to a global shortage of their most important part.