Amazon.com Inc. is getting into the diaper business with a private label brand that pits it against Procter & Gamble Co. and other suppliers who increasingly rely on the online retail giant for sales.