Amazon.com Inc on Wednesday lambasted a bill in Congress barring tech giants from giving preference to their own businesses on their websites, saying it unfairly singles the retailer out while not subjecting rivals to similar regulations.