I don't think bots are automatically directed to the above file & forced to use its written rules.
Although renowned Companies such as ie. Google may configure their bots to read & obey the instructions from the robots.txt file in which case one may be able to save on some resources by controlling some bots actions (ie. no access to certain image directories, etc).
All traffic is forced to obey .htaccess rules & those files can be written to disallow ip's, certain file access, etc.
This can definitely benefit a site with proper configuration and possibly save bandwidth & make a site more secure.
Here are some basic examples of .htaccess file configuration.
disallow ip addresses (2 examples given):
Order allow,deny
Allow from all
Deny from 123.536.744.63
Deny from 531.556.886.321
.. etc..
disallow specific file access:
<Files config.inc.php>
order allow,deny
deny from all
</Files>
There are a few SMF modifications available on SMF.org that will add/configure some .htaccess files to thwart attackers/hackers & bad bots.
You may also be interested in some 3rd party scripts that offer some protection (although not recently updated):
Bot Trap,
Bot Trap2,
Cloud Flare .htaccess files allow all sorts of control ie. including redirecting specific IP's to other pages/url's, password protect directories, display specific html pages for page errors, etc.
.htaccess files can overrule each other. Your server will obey whichever is closest in its folder tree.