Social Security tax is the only tax that has a limit. Medicare tax applies to all wages and high earners even pay an extra percentage.
SS tax has a limit because benefits are also limited. It is a forced retirement plan where if you live long enough, you might get back what you paid in.