Scotland collapsed against Switzerland as they failed to reach the Nations League play-offs, making their route to Euro 2028 even tougher.