MediaTek built its empire inside mobile phones. Its new multibillion-dollar push into custom AI chips shows that the fight over artificial intelligence is moving beyond general-purpose GPUs.