Text this: Rank gradient and cost of Artin groups and their relatives