Due to high level of energy consumption when mining bitcoin
Much debated but ultimately debunked topic of environment and crypto mining. Point in short is that the carbon footprint of the miners is nowhere comparable to other bigger carbon footprints from many things in this world that cannot be stopped.
is there no other ways of producing bitcoin either by the use of computer or other means?
No. If that was possible then you have had a breakthrough already.

There are bitcoin mining methods with computer and home methods and you can do this, but your cpu and graphics card will be severely damaged during this operation. The best way to mining bitcoins is to use miners but This device consumes a lot of power. Are equally dependent on their extraction power.
You CANNOT mine with CPU and GPU in today's difficulty. That statement would have been correct if the year was 2009-2010. The mining sector became so competitive post-2013 that indie miners died out and never got a proper change to even sell away their rigs and get some money back.
The devices that you need are ASICs today and not just one but hundreds of them.