Text this: Common law principles of contract viewed in the context of artificial intelligence