SNP ministers have been accused of ignoring the objections of local communities to approve 47 energy developments since 2020.