Thai tycoon takes office as PM after royal endorsement