The Greens have pledged to bring Scotland’s buses under public ownership, saying the move would stop travellers being used as a “cash cow” by operators.