Pinterest signs $4B AI deal with AWS