Amazon finally made a decent profit in 2016 after years of pouring revenue straight back into investments like more warehouses and cloud computing, in service of founder Jeff Bezos’ bold vision for the company.