OpenAI has signed a $38bn deal with Amazon’s cloud subsidiary Amazon Web Services (AWS) to run and scale its AI workloads.