Public place-everything and everyone is fair game.
Private place, proprietary information-chances are you would have to be invited to get there and given permission to take photos. Selling said photos would require a release.
A few people make their living shooting photos of individuals and machines in public places. Paparazzi and spy photos of new cars come to mind.
Perhaps our legal expert will chime in, and of course there is google.