Micron Technology Inc. and Western Digital Corp. are each exploring a potential deal for Kioxia Holdings Corp. that could value the Japanese semiconductor company at around $30 billion, according to people familiar with the matter, as a global scramble for memory chips used in smartphones and other devices heats up.