Software giant IBM Corp. is suing Amazon.com, alleging infringement of five IBM patents that are core to the online retailer's platform.