Cruise to slash workforce by nearly 50%