Google hopes that partnering with MediaTek to design its new AI chips will give it some breaks from foundry TSMC.