General Motors of Mexico says it will temporarily idle three factories because of the worst auto sales slump in a quarter of a century.