Intelligent block copolymer self-assembly towards IoT hardware components