The 748 is not really a competitor, having less range and far less total pax capacity. Few customers have ordered the 748i. Far more have ordered the 748f.
In standard economy configuration the A380 can carry 853 passengers.
A Boeing 747-8 in standard economy configuration can carry 581 passengers.
Both planes are designed to be fuel-thrifty and reduce operating costs in long-route market segments.