The Spanish bank will take over the branding of the cycle hire scheme from Barclays, marking the end of a contract that attracted criticism for failing to cover the costs of the scheme, as the UK capital’s mayor, Boris Johnson, had pledged.