AI-assisted code editing startup Cursor became one of the most valuable firms in the booming sector overnight with a $29 billion valuation.