General Motors' CEO has said layoffs announced at the company's self-driving Cruise unit were "prudent" but insisted she saw a "huge opportunity" for its vehicles to move both people and packages.