Karnataka not to invest in thermal power plants