WASHINGTON—The Ontario government has sold its final 36.7 million shares of General Motors Co. it received as part of Canada’s $10 billion government bailout of the Detroit automaker. MORE