Lavish Tax Credits and Trade Protections Lure Solar Firms to U.S.