Sector suffering ‘diminishing investor confidence’ while needing major investment, says rating agency