A garage owner has apologised for staging a scene that looked like a murder in an Edinburgh street, which was caught on Google Street View.