Inventing things could be seen as a way of bettering others or merely getting rich. Besides, it is true that leaving a legacy makes a much greater impact over time. On the other hand, it can be argued that mankind's inventions will be as ephemeral as mankind itself.
Edit:Don't keep us in suspense now.