Microsoft and OpenAI have signed a non-binding agreement to redefine their partnership, allowing OpenAI to restructure into a for-profit company.