Google plans to produce more than 5 million TPUs before 2027 to meet the demand for AI computing power.