A man has been arrested on suspicion of dangerous driving after an abandoned car was found smashed into a barbershop.