Does the Bible's teaching on masters and servants apply today if we no longer have slavery?

Yes, it applies to modern workplace relationships between employers and employees.

Watch the Teaching: How Should a Christian Act in the Workplace?