Scalable 1×N switch via on-chip tunable metasurface