The sector is enjoying massive production investment thanks to the clean energy law, even as it contends with heightened tariffs.