Our actions are not wrong because there is an ethical difference between treating people as a means and treating them merely as a means to achieve some end. This is the concept behind the Kantian ethics also referred to as means to end principle.
Activity theory is a framework or a descriptive tool for a system. Consider the entire activity/work beyond just one actor or user. Accounts for environment, history of a person, culture, role of the artifact, complexity of real life action etc...
If you moved to Texas there was law that if you migrated farther to the west and you settled on that land for 5 years it was now your land.