The NEC covers the installed electrical system of the building. The office partitions are no different than say a computer or a toaster. Not per se covered by the NEC. They should be listed by UL or ETL. Short wiring such as inside a product like a microwave, a toaster, or a vacuum, are not sized by the same rules as building circuits.