Sharp Switching in Tunnel Transistors and Physics-Based Machines for Optimization