The shared resource is the validity of like counts.
To be fair, the validity of like counts and other similar engagement metrics being polluted is a good thing.
A tragedy of the commons and the "autoliker" problem described in the OP are both "coordination problems": people are worse off because they do coordinate with each other.