If a society was sufficiently advanced that they could just press a button and make a star ship at will, then they would probably be equally advanced in other areas and would not have any need for star ships.
Depending on what morality we put into the AIs it may choose to do so.