A cycle safety advert has been banned because it is “socially irresponsible and likely to condone or encourage behaviour prejudicial to health and safety”.