Rolls-Royce sold a record number of cars in 2022 as demand for its $500,000 vehicles remained strong.