Rights of the robots: the new laws we need before AI takes over