An Air Canada plane with 140 people on board came within 30 metres of crashing onto two of four planes lined up to take off at San Francisco International Airport last week, according to a preliminary report Canadian air safety regulators released Thursday.