The attorney general, Rob Bonta, said the e-commerce giant pressured its vendors to have competitors like Walmart and Target raise their prices.