Amazon.com Inc. plans to use chips from startup Cerebras Systems Inc. alongside its own Trainium processors, a combination that the companies say will be able to better run AI software.