Vacuum tube and transistor on metal surface