Entrepreneur, who over three decades built online retailer from scratch to become one of world's most valuable companies, will hand over to Andy Jassy, head of firm's web services