Siemens Energy on Tuesday secured a 12 billion euro credit line from private banks that was partly backstopped by the German government, removing a major concern for investors that feared the group could lose out on business without the funds.