Mazda ended production of its RX-8 rotary engine-powered sports car for North America in May and will halt sales as inventories are sold out, company officials said.