B, cyanobacteria belong to photoautotrophic organisms, and B is wrong;
C, green plants belong to photoautotrophic organisms, and C is wrong;
D Flammulina velutipes can't make organic matter, but can only use ready-made organic matter, which belongs to heterotrophic bacteria. D is correct.
Therefore, choose: d.