Sri Lanka's embattled President Gotabaya Rajapaksa on Wednesday fled to the Maldives on a military jet, hours before he was supposed to step down in the face of a public revolt against him and his family for mishandling the economy that has bankrupted the country.