The US Senate narrowly approves a sweeping tax overhaul, putting President Donald Trump on the brink of his first major legislative triumph nearly a year after he took office.