Microsoft Corp. Chief Executive Steve Ballmer, who has struggled to adapt the world’s largest software maker to the shift away from personal computers toward mobile devices, will retire after more than a decade at the helm, Bloomberg News reports.