SunEdison, which bills itself as the world’s largest green energy company, may soon file for bankruptcy protection, according to a recent Securities and Exchange Commission filing, as the company faces “liquidity difficulties” despite getting millions in government subsidies.