Samsung to build $17B chip factory in US state of Texas