While Micron Technology’s fortunes are soaring thanks to the explosion of artificial intelligence, the company has quietly become the world’s biggest producer of memory chips in cars and trucks.