Intel Corp said on Friday it would invest $20 billion to build two new plants in Ohio that would develop and manufacture advanced semiconductor chips, as it races to catch up with rivals in other parts of the world.