Trina Solar has sold its Texas solar panel factory as the US scrutinizes Chinese companies cashing in on Inflation Reduction Act tax breaks.