In almost all instances investing for the average person would be more worthwhile unless you can fill a warehouse full of miners with cheap electricity and then you would be earning a lot more over the long run. The thing is with investing it bares a lot of risks and you have to time it correctly with mining its generated passive income all the time.