An object that was incorrectly identified by an amateur astronomer as an asteroid has turned out to be a Tesla Roadster.