A bus firm published footage of two people on an e-scooter driving dangerously close to the rear of one of their vehicles.