Amazon.com Inc (NASDAQ:AMZN) has committed to buying electricity from a 40-MW wind farm owned by Swedish renewables developer OX2 AB (STO:OX2) in Poland.