Singapore-based Gstar plans to build a 2-GW solar module factory in the UAE in a move marking its expansion into the Middle East.