NEW YORK — Expanding into the growing renewable energy market, General Electric Co. said yesterday that it will build a $600 million solar panel factory, the nation’s biggest, to produce the same type of “thin film’’ panels made by First Solar Inc., the biggest producer.