The purchase of Cursor is a key part of Elon Musk’s efforts to catch up on rivals amid intense competition in ...